Test the necesary validations to every end point of the worlflow resource
| Summary Item | Total | Failed |
|---|---|---|
| Requests | 244 | 0 |
| Prerequest Scripts | 322 | 0 |
| Test Scripts | 562 | 0 |
| Assertions | 457 | 0 |
| Skipped Tests | 0 | - |
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6f6b4730-0a79-4ad3-bb6d-b639f8bb92b2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:57:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b9cf43f6-28f3-45bc-9f95-e1b4ad11e77b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
{"schemeName": "REST1", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:57:26 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3bbdc900-a848-4b05-ad03-220231315bb0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
{"schemeName": "REST Schema", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=B5E564154C760325DCAE76ED50B3C144; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODQ4Mzc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NTEsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNTF9.Rf76hfpz4UmF6MHKulM4yKz_KP50s--1UzmtWVOBC40; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:57:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695329851807,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695329851809,"name":"REST Schema","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response includes name | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3b0b7668-80b6-44e2-be65-c29bc84e476f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
| Cookie | JSESSIONID=B5E564154C760325DCAE76ED50B3C144; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODQ4Mzc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NTEsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNTF9.Rf76hfpz4UmF6MHKulM4yKz_KP50s--1UzmtWVOBC40 |
{"schemeName": "REST1", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:57:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695329854881,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"3cc92156-8784-4ac8-a2d9-b5a6e51bb3c5","mandatory":false,"modDate":1695329854881,"name":"REST1","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Scheme already exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c360d7a9-2a30-47c1-b320-49658e8606b7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=B5E564154C760325DCAE76ED50B3C144; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODQ4Mzc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NTEsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNTF9.Rf76hfpz4UmF6MHKulM4yKz_KP50s--1UzmtWVOBC40 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:57:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 646401d8-e28a-4262-b9fc-8c7a8a0c1908 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=BBF3B65C8BE5601EDA9780EE0F2C90F1; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODU5Mjk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NjIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNjJ9.jLKEA1pur9kYecZWvQQbhCbjZrY-uC5YF1QQCegCrYU; Path=/; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:57:42 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveScheme(WorkflowResource.java:3100)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4bf88549-2358-4c61-be14-b467d700d7ad |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BBF3B65C8BE5601EDA9780EE0F2C90F1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODU5Mjk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NjIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNjJ9.jLKEA1pur9kYecZWvQQbhCbjZrY-uC5YF1QQCegCrYU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:57:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 40b50fcc-4925-441f-89be-1accaea7f1f4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 170 |
{ "schemeId" : "d61a59e1-a49c-46f2-a929-db2b4bfa88b2", "stepName":"REST123", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:57:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 813bb093-ceb9-4ca1-a7ee-52c99faaca6d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
{ "schemeId" : "bde5dad7-6d8f-49a5-8cb5-e955e9afeac5", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=187EBB9EA59CEC788EC325F68B73EA33; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODYzNjc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NjYsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNjZ9.TebknyXLilsVloNnU5g3G1AEpAwfuz9PkNOgYHYeKTM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:57:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329866697,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"4f081bc1-b259-42a8-9c22-af030c956c69","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4c98881f-28af-4359-a5d4-10da7258c9dd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 171 |
| Cookie | JSESSIONID=187EBB9EA59CEC788EC325F68B73EA33; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODYzNjc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NjYsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNjZ9.TebknyXLilsVloNnU5g3G1AEpAwfuz9PkNOgYHYeKTM |
{ "schemeId" : "ad61a59e1-a49c-46f2-a929-db2b4bfa88b2", "stepName":"REST123", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:57:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.addStep(WorkflowHelper.java:1038)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.addStep(WorkflowResource.java:1367)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ecb6bf69-f8ec-499b-8a77-68255cf21fd8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 158 |
| Cookie | JSESSIONID=187EBB9EA59CEC788EC325F68B73EA33; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODYzNjc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NjYsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNjZ9.TebknyXLilsVloNnU5g3G1AEpAwfuz9PkNOgYHYeKTM |
{ "schemeId" : "bde5dad76d", "stepName":"Step shorty schema id", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:57:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329869861,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"63518685-008f-4674-84f3-701afde10011","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1c1a5d08-0a27-46ef-b0b1-040da4bc2d34 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=187EBB9EA59CEC788EC325F68B73EA33; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODYzNjc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NjYsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNjZ9.TebknyXLilsVloNnU5g3G1AEpAwfuz9PkNOgYHYeKTM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:57:52 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.addStep(WorkflowResource.java:1363)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 51f2b086-347e-4dfd-8af7-9d9bb58750c0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=187EBB9EA59CEC788EC325F68B73EA33; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODYzNjc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NjYsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNjZ9.TebknyXLilsVloNnU5g3G1AEpAwfuz9PkNOgYHYeKTM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:57:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f3e14c6a-30de-45a6-9b9e-020c9b83c2fe |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:57:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9123f4d6-ed91-4f33-963c-c4be86ccf1d9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
{
"stepId": "4f081bc1-b259-42a8-9c22-af030c956c69",
"actionName": "saveContent FROM REST NEW",
"schemeId": "bde5dad7-6d8f-49a5-8cb5-e955e9afeac5",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=EB570D8C54B818F4691A32810DDA1962; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODc0MzI3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NzcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNzd9.DfiPbp3rp-JV6Lju78IzhPwir2LmpUONlx7ds7HAXiM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e08f801e-d094-4e88-acf9-f33f751a29af |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 534 |
| Cookie | JSESSIONID=EB570D8C54B818F4691A32810DDA1962; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODc0MzI3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NzcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNzd9.DfiPbp3rp-JV6Lju78IzhPwir2LmpUONlx7ds7HAXiM |
{
"stepId": "aaee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1947)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1994)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1591)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1630)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1032)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4d20728d-c190-45a5-9453-0f34dd8fe786 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 533 |
| Cookie | JSESSIONID=EB570D8C54B818F4691A32810DDA1962; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODc0MzI3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NzcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNzd9.DfiPbp3rp-JV6Lju78IzhPwir2LmpUONlx7ds7HAXiM |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "ad61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1870)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1582)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1630)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1032)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f079d929-f102-4e8b-8fb0-e0768ecfd757 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 480 |
| Cookie | JSESSIONID=EB570D8C54B818F4691A32810DDA1962; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODc0MzI3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NzcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNzd9.DfiPbp3rp-JV6Lju78IzhPwir2LmpUONlx7ds7HAXiM |
{
"stepId": "4f081bc1b2",
"actionName": "saveContent FROM REST NEW",
"schemeId": "bde5dad76d",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"065cc528-27f6-49c9-8e12-bb7856c4fd41","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 61811613-e9d4-4ecd-b34b-d11abde28331 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=EB570D8C54B818F4691A32810DDA1962; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODc0MzI3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NzcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNzd9.DfiPbp3rp-JV6Lju78IzhPwir2LmpUONlx7ds7HAXiM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:09 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1030)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e8d1a2d7-e3f3-4d4d-b1fa-12c48c29adbd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=EB570D8C54B818F4691A32810DDA1962; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODc0MzI3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4NzcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyNzd9.DfiPbp3rp-JV6Lju78IzhPwir2LmpUONlx7ds7HAXiM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:58:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't get workflow data if you don't have credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7bf2fe62-3971-43f3-931d-d67a92353ca7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:58:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you have the list of schemas
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3312ae7a-2d7b-47f1-b8fa-41bcba02692f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=3E47984C40F59F46B599CAE855C8E951; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODkxMjAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4OTQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyOTR9.H-LYzbIb_cW-2Jwi5z8rVBktZDWOHyE9aHF2rCFixXY; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"archived":false,"creationDate":1695329894226,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"3cc92156-8784-4ac8-a2d9-b5a6e51bb3c5","mandatory":false,"modDate":1695329854881,"name":"REST1","system":false},{"archived":false,"creationDate":1695329894226,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695329883856,"name":"REST Schema","system":false},{"archived":false,"creationDate":1695329894226,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes exiting Scheme | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c56c8f95-d23f-4cb5-b78a-9cde412b88bc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3E47984C40F59F46B599CAE855C8E951; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODkxMjAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4OTQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyOTR9.H-LYzbIb_cW-2Jwi5z8rVBktZDWOHyE9aHF2rCFixXY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:58:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't get workflow data if you don't have credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8509b495-c5bf-4cc2-893c-8d8de1ac3279 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:58:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate we return a 401 error in case you try to get shemes info of an unautorized conte type
To test:
Delete permissions to the content type (generic) and add just permissions to admin
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2d17a317-f2e4-4dc7-9aa8-b03c4a4a3ea0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=7751DCE61F9DC0F3AFCFDDC5EC520699; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODk1NDQ4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4OTgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyOTh9.yQHKa7FmgwYrTNQTGP_0dohRgIM3vQIgx6mmtWXawiA; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTypeSchemes":[{"archived":false,"creationDate":1695329898480,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}],"schemes":[{"archived":false,"creationDate":1695329898469,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"3cc92156-8784-4ac8-a2d9-b5a6e51bb3c5","mandatory":false,"modDate":1695329854881,"name":"REST1","system":false},{"archived":false,"creationDate":1695329898469,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695329883856,"name":"REST Schema","system":false},{"archived":false,"creationDate":1695329898469,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Content types permissions | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate we return a 401 error in case you try to get shemes info of an unautorized conte type
To test:
Delete permissions to the content type (generic) and add just permissions to admin
| Header Name | Header Value |
|---|---|
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8f7280fd-21df-4aa5-b936-0e7c10a27830 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=7751DCE61F9DC0F3AFCFDDC5EC520699; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODk1NDQ4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4OTgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyOTh9.yQHKa7FmgwYrTNQTGP_0dohRgIM3vQIgx6mmtWXawiA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findSchemesByContentType(WorkflowHelper.java:1249)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAllSchemesAndSchemesByContentType(WorkflowResource.java:372)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, Content types not found | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you have the list of schemas
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 428a3cca-43dd-460a-9b49-258f2f970782 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=7751DCE61F9DC0F3AFCFDDC5EC520699; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODk1NDQ4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4OTgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyOTh9.yQHKa7FmgwYrTNQTGP_0dohRgIM3vQIgx6mmtWXawiA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTypeSchemes":[{"archived":false,"creationDate":1695329898480,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}],"schemes":[{"archived":false,"creationDate":1695329898621,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"3cc92156-8784-4ac8-a2d9-b5a6e51bb3c5","mandatory":false,"modDate":1695329854881,"name":"REST1","system":false},{"archived":false,"creationDate":1695329898621,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695329883856,"name":"REST Schema","system":false},{"archived":false,"creationDate":1695329898621,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes system workflow | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 503c8aa5-c584-4b32-8047-6b43ecb1bbd3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=7751DCE61F9DC0F3AFCFDDC5EC520699; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODk1NDQ4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk4OTgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYyOTh9.yQHKa7FmgwYrTNQTGP_0dohRgIM3vQIgx6mmtWXawiA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:58:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8a58c699-afe5-4e76-a149-bce84669e1c2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:58:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4f06917a-6800-4e1a-bb57-fcd406678294 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=C50038D149B26D811D6899652C234DA1; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODk5ODY0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MDIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMDJ9.Klxkwilktqwq_EWGhcssUGFV2k7yiM9FWy1yZNKknNQ; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"creationDate":1695329902885,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"4f081bc1-b259-42a8-9c22-af030c956c69","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},{"creationDate":1695329902888,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"63518685-008f-4674-84f3-701afde10011","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes existing step | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8c4e02bf-a6b9-4291-b530-106cfa7ace9b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C50038D149B26D811D6899652C234DA1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODk5ODY0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MDIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMDJ9.Klxkwilktqwq_EWGhcssUGFV2k7yiM9FWy1yZNKknNQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findSteps(WorkflowHelper.java:1355)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findStepsByScheme(WorkflowResource.java:407)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid Response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a4d699c1-2226-4f7e-91f6-fea087be1263 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C50038D149B26D811D6899652C234DA1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODk5ODY0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MDIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMDJ9.Klxkwilktqwq_EWGhcssUGFV2k7yiM9FWy1yZNKknNQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"creationDate":1695329902993,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"6cb7e3bd-1710-4eed-8838-d3db60f78f19","myOrder":0,"name":"New","resolved":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1695329902994,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","myOrder":1,"name":"Draft","resolved":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1695329902994,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","myOrder":2,"name":"Published","resolved":true,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1695329902995,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","myOrder":3,"name":"Archived","resolved":true,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes `New` step | 1 | 0 | 0 |
| Includes Draft step | 1 | 0 | 0 |
| Includes Published step | 1 | 0 | 0 |
| Includes Archived step | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 61737167-2bb6-4c97-a35d-a8ecd28dd583 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C50038D149B26D811D6899652C234DA1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5ODk5ODY0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MDIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMDJ9.Klxkwilktqwq_EWGhcssUGFV2k7yiM9FWy1yZNKknNQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:58:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 74a167eb-1308-4f5f-be44-e043bb548ecb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:58:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1a2b5fd7-2bb4-4b4e-b000-2f82edbfee5c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=CDEAD6D110B3869DB3352B35ED5BC085; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTA0MjEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMDd9.cPeQXn6LM4UgAqpdStA5Q_k8ZyCIlUkNEOY5uxIt52w; Path=/; HttpOnly; SameSite=Lax |
| error-key | Contentlet identified by inode '123' was Not found. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Contentlet identified by inode '123' was Not found.","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Contentlet identified by inode '123' was Not found.\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableActions(WorkflowHelper.java:804)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableActions(WorkflowResource.java:444)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Valid response | 1 | 0 | 0 |
| Status code is 404 | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 932bfe0f-24ea-4461-aa22-067a18f57c33 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 143 |
| Cookie | JSESSIONID=CDEAD6D110B3869DB3352B35ED5BC085; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTA0MjEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMDd9.cPeQXn6LM4UgAqpdStA5Q_k8ZyCIlUkNEOY5uxIt52w |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postmanXXY",
"value": "postmanXXY"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"dbe50adaa96e49baaea5470527b0dc0b","inode":"f4f2041d-d41f-49ae-9b3c-315cef28c7eb","key":"postmanXXY","languageId":1,"live":true,"locked":false,"modDate":1695329907835,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695329907835,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"postmanXXY","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.f4f2041d-d41f-49ae-9b3c-315cef28c7eb","value":"postmanXXY","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 315d20df-84ea-4805-afb0-0d8f044c10fc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=CDEAD6D110B3869DB3352B35ED5BC085; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTA0MjEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMDd9.cPeQXn6LM4UgAqpdStA5Q_k8ZyCIlUkNEOY5uxIt52w |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"actionInputs":[],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","LISTING","NEW","UNPUBLISHED","UNLOCKED"]},{"actionInputs":[{"body":{},"id":"moveable"}],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"bc477b07-8f84-48d2-85b8-20d07512af4b","name":"Move","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","LISTING","UNLOCKED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f1b66ecc-1d2a-486e-acfa-8e0ac2658dd5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=CDEAD6D110B3869DB3352B35ED5BC085; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTA0MjEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMDd9.cPeQXn6LM4UgAqpdStA5Q_k8ZyCIlUkNEOY5uxIt52w |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"actionInputs":[],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","LISTING","NEW","UNPUBLISHED","UNLOCKED"]},{"actionInputs":[{"body":{},"id":"moveable"}],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"bc477b07-8f84-48d2-85b8-20d07512af4b","name":"Move","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","LISTING","UNLOCKED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a14ec7de-c100-4a8f-a375-e37957a8c580 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=CDEAD6D110B3869DB3352B35ED5BC085; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTA0MjEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMDd9.cPeQXn6LM4UgAqpdStA5Q_k8ZyCIlUkNEOY5uxIt52w |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:58:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bb3be31a-18a8-42c4-8099-4ff5ed5a9a50 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:58:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ad8f664d-3935-4a66-a809-21094a7dbfaf |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=699AFEEBBB725429ACD22C8AB794E467; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTE1NTY4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MTgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMTh9.n3YnbB4MB0i-hsHHfoVmcF_-wX_w9tdVm8Kx93omdFI; Path=/; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=b9d89c803) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=b9d89c803)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=b9d89c803)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:833)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAction(WorkflowResource.java:660)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 863e4af6-1d96-49b2-8fba-0297097c4633 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=699AFEEBBB725429ACD22C8AB794E467; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTE1NTY4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MTgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMTh9.n3YnbB4MB0i-hsHHfoVmcF_-wX_w9tdVm8Kx93omdFI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"actionInputs":[{"body":{},"id":"commentable"}],"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes Action Id | 1 | 0 | 0 |
| Includes Action name | 1 | 0 | 0 |
| Includes Scheme Id | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ffd9ffe1-6ccc-42ff-8896-cbb705d2b1ba |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=699AFEEBBB725429ACD22C8AB794E467; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTE1NTY4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MTgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMTh9.n3YnbB4MB0i-hsHHfoVmcF_-wX_w9tdVm8Kx93omdFI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"actionInputs":[{"body":{},"id":"commentable"}],"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | be8f6765-ec9f-4720-9bc3-68ccf889b128 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=699AFEEBBB725429ACD22C8AB794E467; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTE1NTY4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MTgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMTh9.n3YnbB4MB0i-hsHHfoVmcF_-wX_w9tdVm8Kx93omdFI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:58:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 403af5fa-32db-4ca0-a836-fa0f7e68225b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:58:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 50e48df1-da34-447a-8a4a-56bcb4989f31 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=85D553551A1AAED5091A137803612C3A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTE5OTYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MjIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMjJ9.p3y99CZ32mv_uZW2x7RTpE-XpBvi4yw64XVp0JjyN3k; Path=/; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=acda3e84-25a5-498e-8e49-7919e595ff51 and stepId=123) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=acda3e84-25a5-498e-8e49-7919e595ff51 and stepId=123)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=acda3e84-25a5-498e-8e49-7919e595ff51 and stepId=123)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:894)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionByStep(WorkflowResource.java:724)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The step does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 79a46d16-4dad-4248-9f81-18644cb1bd55 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=85D553551A1AAED5091A137803612C3A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTE5OTYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MjIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMjJ9.p3y99CZ32mv_uZW2x7RTpE-XpBvi4yw64XVp0JjyN3k |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Unable to find Workflow Action (using actionId=123 and stepId=4f081bc1-b259-42a8-9c22-af030c956c69) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=123 and stepId=4f081bc1-b259-42a8-9c22-af030c956c69)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=123 and stepId=4f081bc1-b259-42a8-9c22-af030c956c69)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:894)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionByStep(WorkflowResource.java:724)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 74020ed3-4369-4ae5-a37f-0df8ee0a22e5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=85D553551A1AAED5091A137803612C3A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTE5OTYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MjIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMjJ9.p3y99CZ32mv_uZW2x7RTpE-XpBvi4yw64XVp0JjyN3k |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ba06d553-6b3a-48f2-bd47-55c144165c01 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=85D553551A1AAED5091A137803612C3A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTE5OTYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MjIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMjJ9.p3y99CZ32mv_uZW2x7RTpE-XpBvi4yw64XVp0JjyN3k |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 70c66a27-040e-4626-86fc-c1e67a9f3f83 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=85D553551A1AAED5091A137803612C3A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTE5OTYxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MjIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMjJ9.p3y99CZ32mv_uZW2x7RTpE-XpBvi4yw64XVp0JjyN3k |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:58:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6b54fd13-4fa5-4960-8bb7-5185d4fb5779 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:58:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8eaa94f2-42e3-4fc6-b1e2-a1c9c5f10115 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=DBBECD32EDAF0B1AD777B924DD70CBF3; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTI0Mzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MjcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMjd9.gmKwJ9qBycUl9deBlQyP47g8jrLqEmsk0TOR9sv-CyA; Path=/; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findActions(WorkflowHelper.java:1319)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionsByStep(WorkflowResource.java:756)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The step does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8474f24a-2ad0-4b91-935d-f1e974cc7da0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DBBECD32EDAF0B1AD777B924DD70CBF3; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTI0Mzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MjcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMjd9.gmKwJ9qBycUl9deBlQyP47g8jrLqEmsk0TOR9sv-CyA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"065cc528-27f6-49c9-8e12-bb7856c4fd41","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Step returned | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 111a63df-f098-4ff5-8605-8ca1b367f389 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DBBECD32EDAF0B1AD777B924DD70CBF3; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTI0Mzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MjcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMjd9.gmKwJ9qBycUl9deBlQyP47g8jrLqEmsk0TOR9sv-CyA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"065cc528-27f6-49c9-8e12-bb7856c4fd41","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Step returned | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7b72dd33-5909-4fd0-8487-67a5234dd32d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DBBECD32EDAF0B1AD777B924DD70CBF3; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTI0Mzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MjcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMjd9.gmKwJ9qBycUl9deBlQyP47g8jrLqEmsk0TOR9sv-CyA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:58:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 51485244-496f-4b70-8017-0744942491e3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:58:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a01934b0-b5e8-4f92-9524-e1ae54eebbc2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=C12280E4658DFBC08996802D5374169B; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTI4NzgyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MzEsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMzF9.G6NXvNkgA1PjqbLEJFRMiuejnRlmdXQPhY6cljufmUI; Path=/; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findActionsByScheme(WorkflowHelper.java:1448)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionsByScheme(WorkflowResource.java:785)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The scheme does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 24427735-53ac-4a56-b2cd-d5f0af082451 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C12280E4658DFBC08996802D5374169B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTI4NzgyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MzEsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMzF9.G6NXvNkgA1PjqbLEJFRMiuejnRlmdXQPhY6cljufmUI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"065cc528-27f6-49c9-8e12-bb7856c4fd41","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Success request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 57465813-2309-4c52-8e04-30bff6a7c15b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C12280E4658DFBC08996802D5374169B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTI4NzgyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MzEsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMzF9.G6NXvNkgA1PjqbLEJFRMiuejnRlmdXQPhY6cljufmUI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"065cc528-27f6-49c9-8e12-bb7856c4fd41","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Success request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5345cebb-c173-4ade-b04b-7fd2ab0ac5e5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C12280E4658DFBC08996802D5374169B; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTI4NzgyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MzEsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMzF9.G6NXvNkgA1PjqbLEJFRMiuejnRlmdXQPhY6cljufmUI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:58:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b7c3c8f6-f244-492e-bee8-40b9c9105844 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:58:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a7e1125d-dd6b-4b92-97ab-c39b6f24930b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=E061C6605F7172E88B8E155FC2025F73; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTMzMTA5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MzYsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMzZ9.S7HyGjvJkW2hIJygKx6zujYlVmtqNEyQ4lkaZYvYZDs; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329877437,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"4f081bc1-b259-42a8-9c22-af030c956c69","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 585fc065-aa4c-4140-a796-0ee81c19c101 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E061C6605F7172E88B8E155FC2025F73; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTMzMTA5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MzYsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMzZ9.S7HyGjvJkW2hIJygKx6zujYlVmtqNEyQ4lkaZYvYZDs |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findStepById(WorkflowHelper.java:1064)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findStepById(WorkflowResource.java:1395)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a0aa85f0-d23a-4869-b517-a86ff0e35fd6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E061C6605F7172E88B8E155FC2025F73; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTMzMTA5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MzYsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMzZ9.S7HyGjvJkW2hIJygKx6zujYlVmtqNEyQ4lkaZYvYZDs |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:58:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329877437,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"4f081bc1-b259-42a8-9c22-af030c956c69","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c5db0dbe-7c07-4fbf-90d7-6f0437074ab9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E061C6605F7172E88B8E155FC2025F73; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTMzMTA5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5MzYsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzMzZ9.S7HyGjvJkW2hIJygKx6zujYlVmtqNEyQ4lkaZYvYZDs |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:58:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ddf92d76-6492-49d3-aaff-c150274c2d9a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:58:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 83d0cf78-244b-43f1-a348-dc2845ec919c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=8314C02B3A61B125BCCD99A117A81763; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTM3NDk5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NDAsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNDB9.VldYzmHfK9ArR3FSN4BNAO72lVE16ViU9mTs_cOYtcw; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695329907415,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","LISTING","NEW","UNPUBLISHED","UNLOCKED"]},"scheme":{"archived":false,"creationDate":1695329907415,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"777f1c6b-c877-4a37-ba4b-10627316c2cc","name":"Delete","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","ARCHIVED","LISTING","UNLOCKED"]},"scheme":{"archived":false,"creationDate":1695329907415,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e237aa3b-49f2-4d1e-aaf3-0282a726644b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=8314C02B3A61B125BCCD99A117A81763; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTM3NDk5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NDAsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNDB9.VldYzmHfK9ArR3FSN4BNAO72lVE16ViU9mTs_cOYtcw |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableDefaultActionsByContentType(WorkflowHelper.java:1793)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableDefaultActionsByContentType(WorkflowResource.java:3002)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4504865c-345f-4bf9-9772-6aad5a04a040 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=8314C02B3A61B125BCCD99A117A81763; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTM3NDk5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NDAsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNDB9.VldYzmHfK9ArR3FSN4BNAO72lVE16ViU9mTs_cOYtcw |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:59:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7aad244a-5d5d-483b-b72b-0d63b7e0d3b2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:59:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 261baf6e-d61a-4357-bfb2-5d6525ea840a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=E3CD4DA6C0C61B6CA15DB6AF89897C83; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTQxNzc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NDQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNDR9.SpX92kgfvtaGvFK999pkse-HGWws5GywxGjL1CFAyGU; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695329902884,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695329883856,"name":"REST Schema","system":false}},{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"065cc528-27f6-49c9-8e12-bb7856c4fd41","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695329902884,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695329883856,"name":"REST Schema","system":false}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 45ea74ef-4707-43ad-9589-be31f1196c54 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E3CD4DA6C0C61B6CA15DB6AF89897C83; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTQxNzc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NDQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNDR9.SpX92kgfvtaGvFK999pkse-HGWws5GywxGjL1CFAyGU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableDefaultActionsBySchemes(WorkflowHelper.java:1835)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableDefaultActionsBySchemes(WorkflowResource.java:3037)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f7465798-10c7-43ff-b37f-948803c8cbf3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E3CD4DA6C0C61B6CA15DB6AF89897C83; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTQxNzc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NDQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNDR9.SpX92kgfvtaGvFK999pkse-HGWws5GywxGjL1CFAyGU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695329902884,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695329883856,"name":"REST Schema","system":false}},{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"065cc528-27f6-49c9-8e12-bb7856c4fd41","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695329902884,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695329883856,"name":"REST Schema","system":false}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bf4f37eb-0b35-4543-9210-d3082c603676 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E3CD4DA6C0C61B6CA15DB6AF89897C83; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTQxNzc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NDQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNDR9.SpX92kgfvtaGvFK999pkse-HGWws5GywxGjL1CFAyGU |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:59:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5dc705da-cbd2-4e56-b028-e2f994b1d628 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:59:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1a58ee81-ecdf-4c82-95a6-2aa10de5c413 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=9364A274FC2FE829091D48FD38DC2A5C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTQ2MDkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NDksImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNDl9.9G01Na0MRmoQ8ouzmjW5dBP2uqUSirmutd5IovVPs-I; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"scheme":{"archived":false,"creationDate":1695329907415,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","LISTING","NEW","UNPUBLISHED","UNLOCKED"]},"scheme":{"archived":false,"creationDate":1695329907415,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"777f1c6b-c877-4a37-ba4b-10627316c2cc","name":"Delete","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","ARCHIVED","LISTING","UNLOCKED"]},"scheme":{"archived":false,"creationDate":1695329907415,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695329821171,"name":"System Workflow","system":true}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2b4e7c21-dd2b-429a-a68c-be6f6fd5d87f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=9364A274FC2FE829091D48FD38DC2A5C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTQ2MDkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NDksImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNDl9.9G01Na0MRmoQ8ouzmjW5dBP2uqUSirmutd5IovVPs-I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findInitialAvailableActionsByContentType(WorkflowHelper.java:1880)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findInitialAvailableActionsByContentType(WorkflowResource.java:3071)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f21584b1-566a-46e3-a9fc-dcc352469962 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=9364A274FC2FE829091D48FD38DC2A5C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTQ2MDkzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NDksImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNDl9.9G01Na0MRmoQ8ouzmjW5dBP2uqUSirmutd5IovVPs-I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:59:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1b1dc856-4d4f-41da-8186-307329b52682 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 516 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:59:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8db1fd20-931b-420c-8aee-dfca42af053e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 516 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=48F45B3DA6EE2D50C7CCAE336FB74B68; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTUwNDA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNTN9.EpvfmHvLI-ditRqL5ZGwC3DVru6ZnNrAyFmnUnXT6Rs; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"Republish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e6a70885-516a-4e8f-937d-f2b563a59b62 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 522 |
| Cookie | JSESSIONID=48F45B3DA6EE2D50C7CCAE336FB74B68; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTUwNDA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNTN9.EpvfmHvLI-ditRqL5ZGwC3DVru6ZnNrAyFmnUnXT6Rs |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish-test2",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.updateAction(WorkflowHelper.java:1478)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateAction(WorkflowResource.java:1066)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, Action does not exist | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ae6b9974-f2ce-4b7a-8204-966f7d94a231 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 469 |
| Cookie | JSESSIONID=48F45B3DA6EE2D50C7CCAE336FB74B68; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTUwNDA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNTN9.EpvfmHvLI-ditRqL5ZGwC3DVru6ZnNrAyFmnUnXT6Rs |
{
"actionName": "Republish-123fa",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"acda3e84-25a5-498e-8e49-7919e595ff51","name":"Republish-123fa","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8e362a1a-aaab-491d-9a05-5b7f44baeb49 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=48F45B3DA6EE2D50C7CCAE336FB74B68; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTUwNDA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNTN9.EpvfmHvLI-ditRqL5ZGwC3DVru6ZnNrAyFmnUnXT6Rs |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:19 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateAction(WorkflowResource.java:1064)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1967d868-b5f5-4f4f-a0e1-0474825f5bcb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=48F45B3DA6EE2D50C7CCAE336FB74B68; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTUwNDA2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNTN9.EpvfmHvLI-ditRqL5ZGwC3DVru6ZnNrAyFmnUnXT6Rs |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:59:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 17b3db76-33bc-42cd-958b-c9c8b729bc83 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{ "actionId": "777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:59:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0f270595-4734-492c-aec7-a3878abe90fa |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{ "actionId": "acda3e84-25a5-498e-8e49-7919e595ff51" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=391D2D184178FBA7952F755E18B35953; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTYxMDAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNjR9.-cgt14AMgpIVSusA7WLNdFuzqM6ZWglTZ1w4R4iD_3o; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:59:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 92bd890b-7115-434b-b90c-27110069fa6d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
| Cookie | JSESSIONID=391D2D184178FBA7952F755E18B35953; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTYxMDAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNjR9.-cgt14AMgpIVSusA7WLNdFuzqM6ZWglTZ1w4R4iD_3o |
{ "actionId": "777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1947)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveActionToStep(WorkflowHelper.java:1734)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1099)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b2665ac0-a3fa-43a0-8559-7910ab0e2b99 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 55 |
| Cookie | JSESSIONID=391D2D184178FBA7952F755E18B35953; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTYxMDAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNjR9.-cgt14AMgpIVSusA7WLNdFuzqM6ZWglTZ1w4R4iD_3o |
{ "actionId": "a777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1944)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveActionToStep(WorkflowHelper.java:1734)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1099)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cecc371b-489c-4ade-9285-4411867069fb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 28 |
| Cookie | JSESSIONID=391D2D184178FBA7952F755E18B35953; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTYxMDAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNjR9.-cgt14AMgpIVSusA7WLNdFuzqM6ZWglTZ1w4R4iD_3o |
{ "actionId": "acda3e8425" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:59:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 52cee237-c080-41d8-80f0-84481ca75b55 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=391D2D184178FBA7952F755E18B35953; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTYxMDAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNjR9.-cgt14AMgpIVSusA7WLNdFuzqM6ZWglTZ1w4R4iD_3o |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:30 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1096)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8c74a393-4dcd-4d17-ac30-6c025c403724 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=391D2D184178FBA7952F755E18B35953; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTYxMDAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNjR9.-cgt14AMgpIVSusA7WLNdFuzqM6ZWglTZ1w4R4iD_3o |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:59:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't import schemes without credentials
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 63831256-fb82-4604-bf1c-1d0fbfe83062 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 4552 |
{
"workflowObject": {
"schemes": [
{
"creationDate": 1523640559394,
"name": "Test1",
"description": "",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1523640423771,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "01d5d41a-007e-463d-a5b5-c35ea27b1a30",
"creationDate": 1523643857447,
"name": "Step1",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"creationDate": 1523643857447,
"name": "step2",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "81522b66-221b-4496-aec6-0e4c484973f7",
"name": "Save it",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"condition": "",
"nextStep": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"LOCKED",
"NEW",
"UNLOCKED"
]
},
{
"id": "687c0729-95fe-4e1d-b37c-e9f70615df23",
"name": "TEst",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"LOCKED",
"UNLOCKED"
]
}
],
"actionSteps": [
{
"stepId": "01d5d41a-007e-463d-a5b5-c35ea27b1a30",
"actionId": "81522b66-221b-4496-aec6-0e4c484973f7",
"actionOrder": "0"
},
{
"stepId": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"actionId": "687c0729-95fe-4e1d-b37c-e9f70615df23",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "2298b780-e1d3-4916-b981-e22fd5553086",
"actionId": "81522b66-221b-4496-aec6-0e4c484973f7",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"nextStep": null,
"howTo": "This actionlet will checkin the content.",
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:59:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, Invalid Credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 18cd01f4-4318-41cd-abcf-db72a88174e6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 12065 |
{
"workflowObject": {
"version": "1.0",
"schemes": [
{
"id": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"creationDate": 1527632337579,
"name": "WF_Import_AsAdmin",
"description": "REST_1",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1527632329252,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "4ec41c51-4006-4713-a28d-d42a719934ac",
"creationDate": 1527632495697,
"name": "Step1",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"creationDate": 1527632495698,
"name": "Step2",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "a0f9a62c-182a-4571-b136-6a807550e597",
"creationDate": 1527632495699,
"name": "Step3",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 2,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "09d794cb-c13a-4379-9553-cdef3842d98c",
"creationDate": 1527632495700,
"name": "Step4",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 3,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "09d794cb-c13a-4379-9553-cdef3842d98c",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "a0f9a62c-182a-4571-b136-6a807550e597",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"NEW",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Un-Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"UNLOCKED",
"LOCKED",
"ARCHIVED"
]
},
{
"id": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Unpublish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNLOCKED",
"LOCKED",
"PUBLISHED"
]
}
],
"actionSteps": [
{
"stepId": "4ec41c51-4006-4713-a28d-d42a719934ac",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"actionOrder": "1"
},
{
"stepId": "a0f9a62c-182a-4571-b136-6a807550e597",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"actionOrder": "0"
},
{
"stepId": "09d794cb-c13a-4379-9553-cdef3842d98c",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "889a58e3-2c22-4164-b3c1-62fbf93b5949",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet",
"actionlet": {
"name": "Archive content",
"parameters": null,
"howTo": "This actionlet will archive the content.",
"localizedName": "Archive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet.howTo"
}
},
{
"id": "51610a9a-9be6-489b-ba75-336bf632fc13",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
},
{
"id": "f52163e8-c4a1-4862-be40-0c530cd8f154",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"howTo": "This actionlet will checkin the content.",
"nextStep": null,
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
},
{
"id": "789b3b43-0b19-40df-b5e0-e7e161dd1f39",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Unarchive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet",
"actionlet": {
"name": "Unarchive content",
"parameters": null,
"howTo": "This actionlet will un archive the content and return it to a working state",
"nextStep": null,
"localizedName": "Unarchive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet.howTo"
}
},
{
"id": "700330ab-8974-40d5-9131-67aa05731b48",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=520D600D02219B01C2B49F7D6800F6B9; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTcxNjA1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NzQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNzR9.9nPCWoASXvPKfaqpW5jxF01lEFa50xkdwOyebqPCg80; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:59:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"OK","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fb961701-a523-40bb-b4e5-cfcfde79a020 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 12065 |
| Cookie | JSESSIONID=520D600D02219B01C2B49F7D6800F6B9; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTcxNjA1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NzQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNzR9.9nPCWoASXvPKfaqpW5jxF01lEFa50xkdwOyebqPCg80 |
{
"workflowObject": {
"version": "1.0",
"schemes": [
{
"id": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"creationDate": 1527632337579,
"name": "WF_Import_AsAdmin",
"description": "REST_1",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1527632329252,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "4ec41c51-4006-4713-a28d-d42a719934ac",
"creationDate": 1527632495697,
"name": "Step1",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"creationDate": 1527632495698,
"name": "Step2",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "a0f9a62c-182a-4571-b136-6a807550e597",
"creationDate": 1527632495699,
"name": "Step3",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 2,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "09d794cb-c13a-4379-9553-cdef3842d98c",
"creationDate": 1527632495700,
"name": "Step4",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 3,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "09d794cb-c13a-4379-9553-cdef3842d98c",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "a0f9a62c-182a-4571-b136-6a807550e597",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"NEW",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Un-Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"UNLOCKED",
"LOCKED",
"ARCHIVED"
]
},
{
"id": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Unpublish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNLOCKED",
"LOCKED",
"PUBLISHED"
]
}
],
"actionSteps": [
{
"stepId": "4ec41c51-4006-4713-a28d-d42a719934ac",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"actionOrder": "1"
},
{
"stepId": "a0f9a62c-182a-4571-b136-6a807550e597",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"actionOrder": "0"
},
{
"stepId": "09d794cb-c13a-4379-9553-cdef3842d98c",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "889a58e3-2c22-4164-b3c1-62fbf93b5949",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet",
"actionlet": {
"name": "Archive content",
"parameters": null,
"howTo": "This actionlet will archive the content.",
"localizedName": "Archive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet.howTo"
}
},
{
"id": "51610a9a-9be6-489b-ba75-336bf632fc13",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
},
{
"id": "f52163e8-c4a1-4862-be40-0c530cd8f154",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"howTo": "This actionlet will checkin the content.",
"nextStep": null,
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
},
{
"id": "789b3b43-0b19-40df-b5e0-e7e161dd1f39",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Unarchive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet",
"actionlet": {
"name": "Unarchive content",
"parameters": null,
"howTo": "This actionlet will un archive the content and return it to a working state",
"nextStep": null,
"localizedName": "Unarchive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet.howTo"
}
},
{
"id": "700330ab-8974-40d5-9131-67aa05731b48",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:37 GMT |
| Connection | close |
{"message":"Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed.","stacktrace":{"buffer":"com.dotmarketing.exception.AlreadyExistException: Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed.\n\tat com.dotcms.workflow.helper.WorkflowHelper.checkIfSchemeExists(WorkflowHelper.java:772)\n\tat com.dotcms.workflow.helper.WorkflowHelper.importScheme(WorkflowHelper.java:602)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.importScheme(WorkflowResource.java:2875)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Already existing id | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as limited user if you have permissions to the workflow portlet
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e05963df-a47e-403d-a27e-bc01a1ae90a9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=520D600D02219B01C2B49F7D6800F6B9; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTcxNjA1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NzQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNzR9.9nPCWoASXvPKfaqpW5jxF01lEFa50xkdwOyebqPCg80 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:37 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.importScheme(WorkflowResource.java:2861)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e324a0af-f759-4672-a585-ea0f69a140dd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 4671 |
| Cookie | JSESSIONID=520D600D02219B01C2B49F7D6800F6B9; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTcxNjA1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NzQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNzR9.9nPCWoASXvPKfaqpW5jxF01lEFa50xkdwOyebqPCg80 |
{
"workflowObject": {
"actionClassParams": [
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "2163cb23-8b9a-406a-b2fa-7beecd5c63b0",
"key": "emailSubject",
"value": "subject"
},
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "f98771e9-ca5c-438a-a23b-85594b92af45",
"key": "emailBody",
"value": "msg"
},
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "d831815e-f9c4-4338-956f-2e8b9e0e371b",
"key": "isHtml",
"value": "true"
}
],
"actionClasses": [
{
"actionId": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"actionlet": {
"actionClass": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet",
"howTo": "This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo",
"localizedName": "Notify Assignee",
"name": "Notify Assignee",
"nextStep": null,
"parameters": [
{
"defaultValue": "",
"displayName": "Email Subject",
"key": "emailSubject",
"required": false
},
{
"defaultValue": null,
"displayName": "Email Message",
"key": "emailBody",
"required": false
},
{
"defaultValue": "true",
"displayName": "Is Html?",
"key": "isHtml",
"required": false
}
]
},
"clazz": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet",
"id": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"name": "Notify Assignee",
"order": 0
}
],
"actionSteps": [
{
"actionId": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"actionOrder": "0",
"stepId": "2ad8291f-eee4-4ce7-ab99-1b2186ef4dec"
}
],
"actions": [
{
"assignable": false,
"commentable": false,
"condition": "",
"icon": "workflowIcon",
"id": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"name": "test",
"nextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"nextStep": "currentstep",
"nextStepCurrentStep": true,
"order": 0,
"owner": null,
"roleHierarchyForAssign": false,
"schemeId": "8760ea91-9912-456c-b719-7c63e81fa981",
"showOn": []
}
],
"schemeSystemActionWorkflowActionMappings": [],
"schemes": [
{
"archived": false,
"creationDate": 1623256714100,
"defaultScheme": false,
"description": "",
"entryActionId": null,
"id": "8760ea91-9912-456c-b719-7c63e81fa981",
"mandatory": false,
"modDate": 1623203259556,
"name": "Test",
"system": false
}
],
"steps": [
{
"creationDate": 1623256717104,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0,
"id": "2ad8291f-eee4-4ce7-ab99-1b2186ef4dec",
"myOrder": 0,
"name": "step1",
"resolved": false,
"schemeId": "8760ea91-9912-456c-b719-7c63e81fa981"
}
],
"version": "1.0"
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 20:59:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"OK","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e2fd0fd3-d1c5-487a-bea0-5354327628a8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 34 |
| Cookie | JSESSIONID=520D600D02219B01C2B49F7D6800F6B9; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTcxNjA1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NzQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNzR9.9nPCWoASXvPKfaqpW5jxF01lEFa50xkdwOyebqPCg80 |
{
"name": "Copy Workflow"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695329980975,"defaultScheme":false,"description":"","entryActionId":null,"id":"b1420d48-506d-4a50-a81e-e79c54868fd3","mandatory":false,"modDate":1695329980976,"name":"Copy Workflow","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 30f69047-db1b-436c-ab2d-cf106481ba34 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=520D600D02219B01C2B49F7D6800F6B9; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTcxNjA1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5NzQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzNzR9.9nPCWoASXvPKfaqpW5jxF01lEFa50xkdwOyebqPCg80 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:59:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't export without credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cee626fa-83a4-4137-a07e-d9a0580a8559 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:59:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, Invalid credentials | 1 | 0 | 0 |
| Correct response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can export schemes as admin user
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2491a54b-084f-44e2-ae6f-270819643c19 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=60190910FAC942E7EE37BF9C0F96E18D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTg1MjUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5ODgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzODh9.SYpHo2u_VNC_oRFi76p2Uys8-Soac55H-Qr7NGYoqqI; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"permissions":[],"workflowObject":{"actionClassParams":[{"actionClassId":"fd16f2d7-bc88-4307-aee4-25dfbc2d01c2","id":null,"key":"emailSubject","value":null},{"actionClassId":"fd16f2d7-bc88-4307-aee4-25dfbc2d01c2","id":null,"key":"emailBody","value":null},{"actionClassId":"fd16f2d7-bc88-4307-aee4-25dfbc2d01c2","id":null,"key":"isHtml","value":"true"}],"actionClasses":[{"actionId":"065cc528-27f6-49c9-8e12-bb7856c4fd41","actionlet":{"actionClass":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","howTo":"This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ","localizedHowto":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo","localizedName":"Notify Assignee","name":"Notify Assignee","nextStep":null,"parameters":[{"defaultValue":"","displayName":"Email Subject","key":"emailSubject","required":false},{"defaultValue":null,"displayName":"Email Message","key":"emailBody","required":false},{"defaultValue":"true","displayName":"Is Html?","key":"isHtml","required":false}]},"clazz":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","id":"fd16f2d7-bc88-4307-aee4-25dfbc2d01c2","name":"Notify Assignee","order":0}],"actionSteps":[{"actionId":"acda3e84-25a5-498e-8e49-7919e595ff51","actionOrder":"0","stepId":"4f081bc1-b259-42a8-9c22-af030c956c69"},{"actionId":"065cc528-27f6-49c9-8e12-bb7856c4fd41","actionOrder":"1","stepId":"4f081bc1-b259-42a8-9c22-af030c956c69"}],"actions":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"065cc528-27f6-49c9-8e12-bb7856c4fd41","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]}],"schemeSystemActionWorkflowActionMappings":[],"schemes":[{"archived":false,"creationDate":1695329988269,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695329967178,"name":"REST Schema","system":false}],"steps":[{"creationDate":1695329988274,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"4f081bc1-b259-42a8-9c22-af030c956c69","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},{"creationDate":1695329988276,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"63518685-008f-4674-84f3-701afde10011","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"}],"version":"1.0"}},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes scheme | 1 | 0 | 0 |
| Includes step | 1 | 0 | 0 |
| Includes action | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can export schemes as admin user
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0925abdc-4ae8-4401-98d8-98b9badbbac9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=60190910FAC942E7EE37BF9C0F96E18D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTg1MjUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5ODgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzODh9.SYpHo2u_VNC_oRFi76p2Uys8-Soac55H-Qr7NGYoqqI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"permissions":[],"workflowObject":{"actionClassParams":[{"actionClassId":"fd16f2d7-bc88-4307-aee4-25dfbc2d01c2","id":null,"key":"emailSubject","value":null},{"actionClassId":"fd16f2d7-bc88-4307-aee4-25dfbc2d01c2","id":null,"key":"emailBody","value":null},{"actionClassId":"fd16f2d7-bc88-4307-aee4-25dfbc2d01c2","id":null,"key":"isHtml","value":"true"}],"actionClasses":[{"actionId":"065cc528-27f6-49c9-8e12-bb7856c4fd41","actionlet":{"actionClass":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","howTo":"This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ","localizedHowto":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo","localizedName":"Notify Assignee","name":"Notify Assignee","nextStep":null,"parameters":[{"defaultValue":"","displayName":"Email Subject","key":"emailSubject","required":false},{"defaultValue":null,"displayName":"Email Message","key":"emailBody","required":false},{"defaultValue":"true","displayName":"Is Html?","key":"isHtml","required":false}]},"clazz":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","id":"fd16f2d7-bc88-4307-aee4-25dfbc2d01c2","name":"Notify Assignee","order":0}],"actionSteps":[{"actionId":"acda3e84-25a5-498e-8e49-7919e595ff51","actionOrder":"0","stepId":"4f081bc1-b259-42a8-9c22-af030c956c69"},{"actionId":"065cc528-27f6-49c9-8e12-bb7856c4fd41","actionOrder":"1","stepId":"4f081bc1-b259-42a8-9c22-af030c956c69"}],"actions":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"065cc528-27f6-49c9-8e12-bb7856c4fd41","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]}],"schemeSystemActionWorkflowActionMappings":[],"schemes":[{"archived":false,"creationDate":1695329988269,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695329967178,"name":"REST Schema","system":false}],"steps":[{"creationDate":1695329988345,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"4f081bc1-b259-42a8-9c22-af030c956c69","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},{"creationDate":1695329988346,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"63518685-008f-4674-84f3-701afde10011","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"}],"version":"1.0"}},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes scheme | 1 | 0 | 0 |
| Includes step | 1 | 0 | 0 |
| Includes action | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c0ffda0d-f401-456b-9254-69817e99c790 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=60190910FAC942E7EE37BF9C0F96E18D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTg1MjUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5ODgsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzODh9.SYpHo2u_VNC_oRFi76p2Uys8-Soac55H-Qr7NGYoqqI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:59:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3199f802-4458-47a7-855c-bd9b3813ffb6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:59:48 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ccaf0ada-ae72-4384-9594-4986c6581c56 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 142 |
{ "stepOrder":5, "stepName":"REST step UPDATED", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=A03D31BEE86F251D6D93A0A82ADE8A2D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTg5NTc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5OTIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzOTJ9.2ca7H6MaNLPi-0cj_9qT-mccXSyXzpSfsZiRV69WAwQ; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:55 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329877437,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"4f081bc1-b259-42a8-9c22-af030c956c69","myOrder":1,"name":"REST step UPDATED","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2ab5930b-cff0-4e26-b14f-042a190b7d34 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 129 |
| Cookie | JSESSIONID=A03D31BEE86F251D6D93A0A82ADE8A2D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTg5NTc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5OTIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzOTJ9.2ca7H6MaNLPi-0cj_9qT-mccXSyXzpSfsZiRV69WAwQ |
{ "stepOrder":5, "stepName":"REST", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:55 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.updateStep(WorkflowHelper.java:1082)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateStep(WorkflowResource.java:1337)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2cd55673-1073-4f15-8227-674a52417b55 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 148 |
| Cookie | JSESSIONID=A03D31BEE86F251D6D93A0A82ADE8A2D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTg5NTc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5OTIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzOTJ9.2ca7H6MaNLPi-0cj_9qT-mccXSyXzpSfsZiRV69WAwQ |
{ "stepOrder":5, "stepName":"REST step Updated again", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695329995673,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"4f081bc1-b259-42a8-9c22-af030c956c69","myOrder":1,"name":"REST step Updated again","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2dc9c18a-2a9a-41db-b558-01640162a004 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A03D31BEE86F251D6D93A0A82ADE8A2D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTg5NTc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5OTIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzOTJ9.2ca7H6MaNLPi-0cj_9qT-mccXSyXzpSfsZiRV69WAwQ |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 20:59:58 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateStep(WorkflowResource.java:1336)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 457fa33b-4542-4e82-b1be-d1fcd2cc4af8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A03D31BEE86F251D6D93A0A82ADE8A2D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzI5OTg5NTc2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMjk5OTIsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTYzOTJ9.2ca7H6MaNLPi-0cj_9qT-mccXSyXzpSfsZiRV69WAwQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 20:59:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c65f38f4-69c8-41c8-b094-e3f5dcc83703 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 20:59:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 29dcbff3-5ec5-4c75-b9e1-f7ec5812a4db |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=94A892A6764468CF08B06E83262983C0; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDAwMjU5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMDMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MDN9.tHyc1Z2xLnypbAl3HHsqodSTi1V2UZMV9xLpERvnRW8; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 21:00:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 260f354f-3dc3-4738-a875-534db08c90d5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=94A892A6764468CF08B06E83262983C0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDAwMjU5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMDMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MDN9.tHyc1Z2xLnypbAl3HHsqodSTi1V2UZMV9xLpERvnRW8 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderStep(WorkflowHelper.java:989)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderStep(WorkflowResource.java:1306)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 51298c26-ff24-4b49-aeba-f607df901537 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=94A892A6764468CF08B06E83262983C0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDAwMjU5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMDMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MDN9.tHyc1Z2xLnypbAl3HHsqodSTi1V2UZMV9xLpERvnRW8 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 21:00:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f7347dba-02c8-48c9-8d40-3182c10c0c84 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=94A892A6764468CF08B06E83262983C0; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDAwMjU5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMDMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MDN9.tHyc1Z2xLnypbAl3HHsqodSTi1V2UZMV9xLpERvnRW8 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 21:00:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 164f9853-87e8-4d63-9350-65c437639016 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
{"schemeName": "REST2", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 21:00:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a157b3b9-3f77-442a-850d-a5438548d5dc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 107 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=2A8763058BEC200297BD5F580480F2C6; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDEwNzg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MTN9.FMsswUmW0Z8IDi-9TFDr0uI0vhA5IbysGMQZSNOhoqk; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695330013813,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695330013818,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d3f679c5-a94c-4066-a001-1fedadf65d5b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 115 |
| Cookie | JSESSIONID=2A8763058BEC200297BD5F580480F2C6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDEwNzg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MTN9.FMsswUmW0Z8IDi-9TFDr0uI0vhA5IbysGMQZSNOhoqk |
{"schemeName": "Default Scheme Updated from REST", "schemeDescription": "AutomaticTest", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveOrUpdate(WorkflowHelper.java:1930)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateScheme(WorkflowResource.java:3132)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveOrUpdate(WorkflowHelper.java:1926)\n\t... 101 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 86da4cf5-9dac-477e-935b-743134733b70 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
| Cookie | JSESSIONID=2A8763058BEC200297BD5F580480F2C6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDEwNzg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MTN9.FMsswUmW0Z8IDi-9TFDr0uI0vhA5IbysGMQZSNOhoqk |
{"schemeName": "WF_Import_AsAdmin_edited_Shorty", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695330016916,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695330016918,"name":"WF_Import_AsAdmin_edited_Shorty","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ee395087-30d1-49be-92d0-0e494e2832d5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2A8763058BEC200297BD5F580480F2C6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDEwNzg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MTN9.FMsswUmW0Z8IDi-9TFDr0uI0vhA5IbysGMQZSNOhoqk |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:19 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateScheme(WorkflowResource.java:3130)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7e3b48ae-b0c3-4acd-97bb-7dba9d20ce47 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2A8763058BEC200297BD5F580480F2C6; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDEwNzg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MTN9.FMsswUmW0Z8IDi-9TFDr0uI0vhA5IbysGMQZSNOhoqk |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 21:00:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e83ca85c-a150-4b5e-964b-9db4404e61f1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
{"order" : 3}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 21:00:19 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3b613e65-f3a3-4d32-a344-1993579895e8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
{"order" : 0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 21:00:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 085df710-1d78-4124-8dc6-b0a26decf8d9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 45 |
| Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8 |
{"order" : 123012301203102301230102301230123}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | bad-request-exception |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:27 GMT |
| Connection | close |
{"message":"Numeric value (123012301203102301230102301230123) out of range of int (-2147483648 - 2147483647)\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 45]","stacktrace":{"buffer":"com.fasterxml.jackson.core.exc.InputCoercionException: Numeric value (123012301203102301230102301230123) out of range of int (-2147483648 - 2147483647)\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 45]\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportInputCoercion(ParserMinimalBase.java:623)\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:592)\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:587)\n\tat com.fasterxml.jackson.core.base.ParserBase._reportTooLongIntegral(ParserBase.java:927)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseSlowInt(ParserBase.java:906)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseNumericValue(ParserBase.java:828)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseIntValue(ParserBase.java:857)\n\tat com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:689)\n\tat com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:526)\n\tat com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:506)\n\tat com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeSetAndReturn(FieldProperty.java:167)\n\tat com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.vanillaDeserialize(BuilderBasedDeserializer.java:293)\n\tat com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.deserialize(BuilderBasedDeserializer.java:217)\n\tat com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)\n\tat com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:2025)\n\tat com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1175)\n\tat com.fasterxml.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:803)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)\n\tat org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundReadFrom(MappableExceptionWrapperInterceptor.java:74)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)\n\tat org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085)\n\tat org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874)\n\tat org.glassfish.jersey.server.ContainerRequest.readEntity(ContainerRequest.java:271)\n\tat org.glassfish.jersey.server.internal.inject.EntityParamValueFactoryProvider$EntityValueFactory.provide(EntityParamValueFactoryProvider.java:96)\n\tat org.glassfish.jersey.server.spi.internal.ParamValueFactoryWithSource.provide(ParamValueFactoryWithSource.java:71)\n\tat org.glassfish.jersey.server.spi.internal.ParameterValueHelper.getParameterValues(ParameterValueHelper.java:94)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$AbstractMethodParamInvoker.getParamValues(JavaResourceMethodDispatcherProvider.java:127)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, Bad request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 44737212-0023-47a8-9f25-ac72ce293c21 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8 |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderAction(WorkflowHelper.java:951)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2826)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 85dd15e9-c6f2-4a33-810d-5b13a93a2ab5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8 |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderAction(WorkflowHelper.java:951)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2826)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a6cf1343-2f73-42a5-bfed-c49d404347e8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8 |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 21:00:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 923d2e7f-9e75-4d88-9d29-3540b5b55292 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:30 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2824)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 350cba22-627c-4e59-8dfc-c4bfca46ab88 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 1048 |
| Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8 |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Test Content Type",
"description": "THE DESCRIPTION",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"dataType": "LONG_TEXT",
"dbColumn": "text_area2",
"fieldVariables": [],
"fixed": false,
"iDate": 1453474468000,
"clazz": "com.dotcms.contenttype.model.field.ImmutableTextField",
"indexed": true,
"listed": false,
"modDate": 1478557845000,
"name": "Title",
"readOnly": false,
"required": false,
"searchable": true,
"sortOrder": 3,
"unique": false,
"variable": "title"
}],
"workflow": ["d61a59e1-a49c-46f2-a929-db2b4bfa88b2"]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"THE DESCRIPTION","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"LONG_TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1453474468000,"id":"6ce807965d2b9510b8f2aafb61360803","indexed":true,"listed":false,"modDate":1695330031000,"name":"Title","readOnly":false,"required":false,"searchable":true,"sortOrder":3,"unique":false,"variable":"title"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1695330031000,"icon":"event_note","id":"94a03a7b528590d78d2f752479b24788","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695330037000,"indexed":false,"listed":false,"modDate":1695330037000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695330037000,"indexed":false,"listed":false,"modDate":1695330037000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"LONG_TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1453474468000,"id":"6ce807965d2b9510b8f2aafb61360803","indexed":true,"listed":false,"modDate":1695330031000,"name":"Title","readOnly":false,"required":false,"searchable":true,"sortOrder":2,"unique":false,"variable":"title"}]}]}],"modDate":1695330031000,"multilingualable":false,"name":"Test Content Type","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"TestContentType","versionable":true,"workflows":[{"archived":false,"creationDate":1695330037108,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695330027644,"name":"System Workflow","system":true}]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 74bfb244-0e32-4276-8a13-9a37374492bc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 71 |
| Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8 |
{
"contentlet":{
"stName": "TestContentType",
"title": "test"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentType","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"eedab5f40e60a5d7f13adbe7dacb314a","inode":"b55117fa-0f23-4ea5-9d98-6be56e8a49f7","languageId":1,"live":false,"locked":false,"modDate":1695330037317,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330037317,"sortOrder":0,"stInode":"94a03a7b528590d78d2f752479b24788","title":"test","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b55117fa-0f23-4ea5-9d98-6be56e8a49f7","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ebde2fe4-4db8-464d-9ad5-e155b997072c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 1 |
| Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:00:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"baseType":"CONTENT","contentType":"TestContentType","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"eedab5f40e60a5d7f13adbe7dacb314a","inode":"b55117fa-0f23-4ea5-9d98-6be56e8a49f7","languageId":1,"live":false,"locked":false,"modDate":1695330037317,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330037317,"sortOrder":0,"stInode":"94a03a7b528590d78d2f752479b24788","title":"test","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/content.b55117fa-0f23-4ea5-9d98-6be56e8a49f7","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 40ceba77-2fe8-45b4-a3f1-23022d1490ae |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 3 |
| Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8 |
{}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 95 |
| Date | Thu, 21 Sep 2023 21:00:59 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 219cccac-7c0d-4bc7-85b1-7e8c89629bb1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=78DDBEA59585FB5ECCE44B567FF95C01; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDIxMzc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwMjQsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0MjR9.4NCg1h76korEnLyfQ0LuWRP9MJ1BRqfnRTtz7rVmLp8 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 21:00:59 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7621ade4-a86c-4561-a9c8-6a00364e9879 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695330060",
"value": "SucessRequest1695330060"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=F6E4A9BE67A10D5933B483A665CDE972; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDYwNzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwNjMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0NjN9.1OG9WWBaFK1jGkRAPGqMAge_qxIRA_gSkH21J-6SrDE; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"9c3c238070d64331d2a1573d9d38c664","inode":"81f27053-1656-4b1f-8a84-3f076b2381a5","key":"SucessRequest1695330060","languageId":1,"live":true,"locked":false,"modDate":1695330063853,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330063853,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695330060","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.81f27053-1656-4b1f-8a84-3f076b2381a5","value":"SucessRequest1695330060","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 120a6b4f-0f44-42ea-bc26-f09fa71d7772 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | JSESSIONID=F6E4A9BE67A10D5933B483A665CDE972; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDYwNzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwNjMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0NjN9.1OG9WWBaFK1jGkRAPGqMAge_qxIRA_gSkH21J-6SrDE |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.validateActionStepAndWorkflow(WorkflowAPIImpl.java:3511)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireContentWorkflow(WorkflowAPIImpl.java:3360)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2455)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f9888565-1934-489a-9489-728587fabd4a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 138 |
| Cookie | JSESSIONID=F6E4A9BE67A10D5933B483A665CDE972; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDYwNzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwNjMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0NjN9.1OG9WWBaFK1jGkRAPGqMAge_qxIRA_gSkH21J-6SrDE |
{ "contentlet" : {
"stInode" : "af4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:09 GMT |
| Connection | close |
{"message":"Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found","stacktrace":{"buffer":"com.dotmarketing.business.DotStateException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:86)\n\tat com.dotcms.rest.ContentHelper.populateContentletFromMap(ContentHelper.java:74)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2752)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.rest.MapToContentletPopulator.processMap(MapToContentletPopulator.java:135)\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:83)\n\t... 102 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 07e59503-b9d5-4ebf-9ccf-205f548accac |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
| Cookie | JSESSIONID=F6E4A9BE67A10D5933B483A665CDE972; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDYwNzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwNjMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0NjN9.1OG9WWBaFK1jGkRAPGqMAge_qxIRA_gSkH21J-6SrDE |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SupportShorty1695330070",
"value": "SupportShorty1695330070"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"26fd345752dc81103fe7f06dab0caa9a","inode":"0dce2004-b98c-405d-bff3-e7919a78f1ea","key":"SupportShorty1695330070","languageId":1,"live":true,"locked":false,"modDate":1695330070240,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330070240,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SupportShorty1695330070","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.0dce2004-b98c-405d-bff3-e7919a78f1ea","value":"SupportShorty1695330070","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 38c2d226-37bd-485e-a18a-1a5b9e84cd81 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F6E4A9BE67A10D5933B483A665CDE972; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDYwNzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwNjMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0NjN9.1OG9WWBaFK1jGkRAPGqMAge_qxIRA_gSkH21J-6SrDE |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"9c3c238070d64331d2a1573d9d38c664","inode":"da0be8f3-4251-4586-b974-56a95e098970","key":"SucessRequest1695330060","languageId":1,"live":true,"locked":false,"modDate":1695330076527,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330076527,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695330060","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.81f27053-1656-4b1f-8a84-3f076b2381a5","value":"SucessRequest1695330060","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1764012f-8f57-4083-bb46-cff7478ae376 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | JSESSIONID=F6E4A9BE67A10D5933B483A665CDE972; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDYwNzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwNjMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0NjN9.1OG9WWBaFK1jGkRAPGqMAge_qxIRA_gSkH21J-6SrDE |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695330060",
"value": "postman3"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:22 GMT |
| Connection | close |
{"entity":"","errors":[{"errorCode":"unique","fieldName":"key","message":"The same unique value in field Key is used by more than one content."}],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, BadRequest | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ae26122e-89a0-4e5d-80af-de36903674cb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F6E4A9BE67A10D5933B483A665CDE972; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDYwNzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwNjMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0NjN9.1OG9WWBaFK1jGkRAPGqMAge_qxIRA_gSkH21J-6SrDE |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | When no inode is sent the info on the Request body becomes mandatory. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:22 GMT |
| Connection | close |
{"message":"When no inode is sent the info on the Request body becomes mandatory.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: When no inode is sent the info on the Request body becomes mandatory.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1224)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1347)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2698)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7e496bff-f00d-44ae-8644-fec2b9b8f93d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F6E4A9BE67A10D5933B483A665CDE972; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDYwNzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwNjMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0NjN9.1OG9WWBaFK1jGkRAPGqMAge_qxIRA_gSkH21J-6SrDE |
| Content-Length | 5316 |
{"json":"{ \"contentlet\" : {\n \"stInode\" : \"f2d8a1c7-2b77-2081-bcf1-b5348988c08d\"\n}\n}","file":"resources/WorkflowResource/testImages/james.jpeg"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpegIcon","archived":false,"asset":"/dA/80ce1fe51bfb8a330f7b0668725d51e3/asset/james.jpeg","assetContentAsset":"80ce1fe51bfb8a330f7b0668725d51e3/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":4930,"height":186,"isImage":true,"length":4930,"modDate":1695330083053,"name":"james.jpeg","sha256":"34a7edc5d23c9b3c6c93cd7762ed65966abfbd60813edbe22db395d6e7b24bd7","title":"james.jpeg","version":20220201,"width":139},"assetVersion":"/dA/24e41be8-f137-49f8-baa5-9fd286a68c12/asset/james.jpeg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpeg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"80ce1fe51bfb8a330f7b0668725d51e3","inode":"24e41be8-f137-49f8-baa5-9fd286a68c12","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1695330083080,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"james.jpeg","owner":"dotcms.org.1","path":"/content.24e41be8-f137-49f8-baa5-9fd286a68c12","publishDate":1695330083080,"size":4930,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"james.jpeg","titleImage":"asset","type":"dotasset","url":"/content.24e41be8-f137-49f8-baa5-9fd286a68c12","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| First binary included | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7447f038-7419-4442-a0ee-c7d0169aa6d4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F6E4A9BE67A10D5933B483A665CDE972; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDYwNzk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwNjMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0NjN9.1OG9WWBaFK1jGkRAPGqMAge_qxIRA_gSkH21J-6SrDE |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 21:01:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9e22b385-9091-4556-af03-bc40187c3dc8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695330090",
"value": "SucessRequest1695330090"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=C97B93EF67004C62628B8C0BC58A8912; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDkwNjA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwOTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0OTN9.99UNDBvuBHNHwStuzTG6jueVsRwDF1aJxB3DjY4Hwa0; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"8aa0740edc6a85df30dcb7320346320c","inode":"5c2f18d4-3d39-4764-a313-7682b08f7313","key":"SucessRequest1695330090","languageId":1,"live":true,"locked":false,"modDate":1695330093671,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330093671,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695330090","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.5c2f18d4-3d39-4764-a313-7682b08f7313","value":"SucessRequest1695330090","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire a publish action. In the body the contentType is not sent, just the baseType but it doesn't exists so 400.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 136d71a0-109d-42c8-b016-4b65c3c48887 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 200 |
| Cookie | JSESSIONID=C97B93EF67004C62628B8C0BC58A8912; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDkwNjA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwOTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0OTN9.99UNDBvuBHNHwStuzTG6jueVsRwDF1aJxB3DjY4Hwa0 |
{
"contentlet":{
"baseType":"BaseTypeNotExist",
"asset":"temp_c41afefd64",
"hostFolder":"48190c8c-42c4-46af-8d1a-0cd5db894797",
"indexPolicy":"WAIT_FOR"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | BaseContentType BaseTypeNotExist does not Exist |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:39 GMT |
| Connection | close |
{"message":"BaseContentType BaseTypeNotExist does not Exist","stacktrace":{"buffer":"java.lang.IllegalArgumentException: BaseContentType BaseTypeNotExist does not Exist\n\tat com.dotcms.contenttype.model.type.BaseContentType.getBaseContentType(BaseContentType.java:115)\n\tat com.dotcms.rest.ContentHelper.tryToSetContentType(ContentHelper.java:118)\n\tat com.dotcms.rest.ContentHelper.checkOrSetContentType(ContentHelper.java:101)\n\tat com.dotcms.rest.ContentHelper.checkOrSetContentType(ContentHelper.java:85)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2748)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 48fbc3cc-3706-4e27-9c1d-867cb4d3df29 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | JSESSIONID=C97B93EF67004C62628B8C0BC58A8912; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDkwNjA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwOTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0OTN9.99UNDBvuBHNHwStuzTG6jueVsRwDF1aJxB3DjY4Hwa0 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-message | No enum constant com.dotmarketing.portlets.workflows.business.WorkflowAPI.SystemAction.NONEXISTING |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | application/json |
| Content-Length | 112 |
| Date | Thu, 21 Sep 2023 21:01:39 GMT |
| Connection | close |
{"message":"No enum constant com.dotmarketing.portlets.workflows.business.WorkflowAPI.SystemAction.NONEXISTING"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4a80390e-73cc-4ebd-824f-78bd4f01635e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 138 |
| Cookie | JSESSIONID=C97B93EF67004C62628B8C0BC58A8912; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDkwNjA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwOTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0OTN9.99UNDBvuBHNHwStuzTG6jueVsRwDF1aJxB3DjY4Hwa0 |
{ "contentlet" : {
"stInode" : "af4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:39 GMT |
| Connection | close |
{"message":"Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found","stacktrace":{"buffer":"com.dotmarketing.business.DotStateException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:86)\n\tat com.dotcms.rest.ContentHelper.populateContentletFromMap(ContentHelper.java:74)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2752)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.rest.MapToContentletPopulator.processMap(MapToContentletPopulator.java:135)\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:83)\n\t... 103 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d2052c3e-4d36-4ab0-9ede-00dd6f2bf388 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C97B93EF67004C62628B8C0BC58A8912; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDkwNjA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwOTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0OTN9.99UNDBvuBHNHwStuzTG6jueVsRwDF1aJxB3DjY4Hwa0 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"8aa0740edc6a85df30dcb7320346320c","inode":"22611bb2-8c7c-417e-b20c-c58532de070f","key":"SucessRequest1695330090","languageId":1,"live":true,"locked":false,"modDate":1695330100197,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330100197,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695330090","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.5c2f18d4-3d39-4764-a313-7682b08f7313","value":"SucessRequest1695330090","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3cda7f33-d94c-4abd-9a7c-9724546646dd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | JSESSIONID=C97B93EF67004C62628B8C0BC58A8912; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDkwNjA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwOTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0OTN9.99UNDBvuBHNHwStuzTG6jueVsRwDF1aJxB3DjY4Hwa0 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695330090",
"value": "postman3"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:46 GMT |
| Connection | close |
{"entity":"","errors":[{"errorCode":"unique","fieldName":"key","message":"The same unique value in field Key is used by more than one content."}],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, BadRequest | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 734c4ca4-9869-4d35-9d98-9dbf6660a37d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C97B93EF67004C62628B8C0BC58A8912; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDkwNjA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwOTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0OTN9.99UNDBvuBHNHwStuzTG6jueVsRwDF1aJxB3DjY4Hwa0 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | When no inode is sent the info on the Request body becomes mandatory. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:46 GMT |
| Connection | close |
{"message":"When no inode is sent the info on the Request body becomes mandatory.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: When no inode is sent the info on the Request body becomes mandatory.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1224)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1347)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2698)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 070665da-dd23-4e70-adaf-827027f60a2e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C97B93EF67004C62628B8C0BC58A8912; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDkwNjA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwOTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0OTN9.99UNDBvuBHNHwStuzTG6jueVsRwDF1aJxB3DjY4Hwa0 |
| Content-Length | 5316 |
{"json":"{ \"contentlet\" : {\n \"stInode\" : \"f2d8a1c7-2b77-2081-bcf1-b5348988c08d\"\n}\n}","file":"resources/WorkflowResource/testImages/james.jpeg"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:01:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpegIcon","archived":false,"asset":"/dA/cb142fc9-22d6-4f78-af4d-5d2a96c3624d/asset/james.jpeg","assetContentAsset":"cb142fc9-22d6-4f78-af4d-5d2a96c3624d/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":4930,"height":186,"isImage":true,"length":4930,"modDate":1695330106621,"name":"james.jpeg","sha256":"34a7edc5d23c9b3c6c93cd7762ed65966abfbd60813edbe22db395d6e7b24bd7","title":"james.jpeg","version":20220201,"width":139},"assetVersion":"/dA/8e005caa-41df-430d-84ad-defd1b78f74c/asset/james.jpeg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpeg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"cb142fc9-22d6-4f78-af4d-5d2a96c3624d","inode":"8e005caa-41df-430d-84ad-defd1b78f74c","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1695330106651,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"james.jpeg","owner":"dotcms.org.1","path":"/content.8e005caa-41df-430d-84ad-defd1b78f74c","publishDate":1695330106651,"size":4930,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"james.jpeg","titleImage":"asset","type":"dotasset","url":"/content.8e005caa-41df-430d-84ad-defd1b78f74c","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| First binary included | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 558a21c3-dd76-46f9-8c9f-89c01688ce02 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C97B93EF67004C62628B8C0BC58A8912; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMDkwNjA4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAwOTMsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY0OTN9.99UNDBvuBHNHwStuzTG6jueVsRwDF1aJxB3DjY4Hwa0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 21:01:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 79cf7a9f-542b-41b9-ac87-43574bb34f8f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 21:01:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d73891bb-25bc-4ddb-85b8-0338cbfec9b1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=DAC82469C14238AD4BECCC565E627CE1; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTE0MTYyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxMTcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1MTd9.ZjysX-ElmEDrYZkjvgsm7bSLluRUT8lx0D6Mwl1ulKI; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695330117175,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"4ce2ec5b-d98e-4401-8709-bdad6b053cc3","mandatory":false,"modDate":1695330117175,"name":"Copy from REST (automatic)","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f62958ef-0324-4515-96e5-5ef088baf72c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DAC82469C14238AD4BECCC565E627CE1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTE0MTYyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxMTcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1MTd9.ZjysX-ElmEDrYZkjvgsm7bSLluRUT8lx0D6Mwl1ulKI |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.copyScheme(WorkflowResource.java:2970)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0cad6dba-b80e-436a-a45a-ad9d71a8b28c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DAC82469C14238AD4BECCC565E627CE1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTE0MTYyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxMTcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1MTd9.ZjysX-ElmEDrYZkjvgsm7bSLluRUT8lx0D6Mwl1ulKI |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695330120303,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"25ced99d-6c53-4b9a-ab54-2c77870a3478","mandatory":false,"modDate":1695330120303,"name":"Copy from REST (automatic)_limited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a7e81be6-3041-44e8-ade8-2ca8cd076895 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 47 |
| Cookie | JSESSIONID=DAC82469C14238AD4BECCC565E627CE1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTE0MTYyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxMTcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1MTd9.ZjysX-ElmEDrYZkjvgsm7bSLluRUT8lx0D6Mwl1ulKI |
{ "name":"Copy from REST (automatic)_limited" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695330123392,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"8139f571-f935-4e89-a7c2-dc9545088c55","mandatory":false,"modDate":1695330123392,"name":"Copy from REST (automatic)_limited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 831119e3-2130-4487-ba13-358f1f3893c3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 47 |
| Cookie | JSESSIONID=DAC82469C14238AD4BECCC565E627CE1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTE0MTYyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxMTcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1MTd9.ZjysX-ElmEDrYZkjvgsm7bSLluRUT8lx0D6Mwl1ulKI |
{ "name":"Copy from REST (automatic)_limited" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695330126486,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"7df260f9-3877-4d8b-86b6-5297a88f64bf","mandatory":false,"modDate":1695330126486,"name":"Copy Using ShortlyID","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ea696550-9eba-4011-a285-32cf45b8bbe5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DAC82469C14238AD4BECCC565E627CE1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTE0MTYyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxMTcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1MTd9.ZjysX-ElmEDrYZkjvgsm7bSLluRUT8lx0D6Mwl1ulKI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 21:02:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 64f5e824-154a-47c6-bc85-47da629a92d0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 21:02:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 50b37d25-adcd-4c10-b3b8-47b616046683 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=300592556174FABC3169A1BD2B0D864D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695330133798,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"4f081bc1-b259-42a8-9c22-af030c956c69","myOrder":0,"name":"REST step Updated again","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3ac8dd5e-1f70-4403-bf13-e1e8730c9ac9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=300592556174FABC3169A1BD2B0D864D |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:16 GMT |
| Connection | close |
{"message":"Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'.","stacktrace":{"buffer":"com.dotmarketing.exception.DotDataValidationException: Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'.\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.doDeleteStep(WorkflowAPIImpl.java:1073)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.deleteStep(WorkflowAPIImpl.java:1031)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteStep(WorkflowHelper.java:1133)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteStep(WorkflowResource.java:1168)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 53ac5f3d-dee3-4ec8-b979-ec3c552f3234 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=300592556174FABC3169A1BD2B0D864D |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteStep(WorkflowHelper.java:1126)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteStep(WorkflowResource.java:1168)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f1887d00-eaf0-4f50-9d19-9f981ff8c631 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=300592556174FABC3169A1BD2B0D864D |
{ "schemeId" : "bde5dad7-6d8f-49a5-8cb5-e955e9afeac5", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695330137009,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"f489de32-88f6-4735-b414-e87986fcd456","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b2a87244-33ac-477d-bead-543749065747 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=300592556174FABC3169A1BD2B0D864D |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695330140047,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"f489de32-88f6-4735-b414-e87986fcd456","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4fa9660c-8743-4dd9-b108-6769079d0f78 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=300592556174FABC3169A1BD2B0D864D |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 21:02:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 40d6b578-f734-49d5-85c0-b3af03fa13ac |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 21:02:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 965fd409-bcec-4aba-8a48-ac0c7b9a1bb3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=67EC4B5D6DD114F7232C3C4D75C3AFF8; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTQ0Mjg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NDd9.T1BK8p2NGDAQQDT-eSlY-DrfcgFZFOFMf3z860B2Hq4; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 21:02:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0faf4013-82b4-4204-a712-5183b1cd9cf4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=67EC4B5D6DD114F7232C3C4D75C3AFF8; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTQ0Mjg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NDd9.T1BK8p2NGDAQQDT-eSlY-DrfcgFZFOFMf3z860B2Hq4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1175)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1231)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ff5b623d-e92a-4bbc-b1a5-225e4d56a030 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=67EC4B5D6DD114F7232C3C4D75C3AFF8; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTQ0Mjg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NDd9.T1BK8p2NGDAQQDT-eSlY-DrfcgFZFOFMf3z860B2Hq4 |
{ "schemeId" : "bde5dad7-6d8f-49a5-8cb5-e955e9afeac5", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695330150402,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"3ec8ca8d-9040-49b7-8699-7e5cb3a348f3","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | aeafdf12-e3cf-4b67-acab-409e2823a6f5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | JSESSIONID=67EC4B5D6DD114F7232C3C4D75C3AFF8; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTQ0Mjg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NDd9.T1BK8p2NGDAQQDT-eSlY-DrfcgFZFOFMf3z860B2Hq4 |
{
"stepId": "3ec8ca8d-9040-49b7-8699-7e5cb3a348f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "bde5dad7-6d8f-49a5-8cb5-e955e9afeac5",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"b420c2c4-1c15-411a-a4ce-8bd67b19c1af","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | df8a9887-d044-4b11-9cd3-854406d3f9d7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=67EC4B5D6DD114F7232C3C4D75C3AFF8; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTQ0Mjg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NDd9.T1BK8p2NGDAQQDT-eSlY-DrfcgFZFOFMf3z860B2Hq4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 21:02:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b57b71a0-a148-415e-aec1-2ca28a203c5b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=67EC4B5D6DD114F7232C3C4D75C3AFF8; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTQ0Mjg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NDd9.T1BK8p2NGDAQQDT-eSlY-DrfcgFZFOFMf3z860B2Hq4 |
{ "schemeId" : "bde5dad7-6d8f-49a5-8cb5-e955e9afeac5", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695330162572,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"8aa89ae4-57cb-47da-bc30-e5e8efb5f00f","myOrder":3,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 59cf99f0-3631-494f-937e-0d2e69948a91 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | JSESSIONID=67EC4B5D6DD114F7232C3C4D75C3AFF8; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTQ0Mjg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NDd9.T1BK8p2NGDAQQDT-eSlY-DrfcgFZFOFMf3z860B2Hq4 |
{
"stepId": "8aa89ae4-57cb-47da-bc30-e5e8efb5f00f",
"actionName": "saveContent FROM REST NEW",
"schemeId": "bde5dad7-6d8f-49a5-8cb5-e955e9afeac5",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"e4be80e2-5cbd-4dff-b732-2fa47008b812","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 851670f2-de98-465d-a4e1-eecec93039ef |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=67EC4B5D6DD114F7232C3C4D75C3AFF8; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTQ0Mjg3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNDcsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NDd9.T1BK8p2NGDAQQDT-eSlY-DrfcgFZFOFMf3z860B2Hq4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 21:02:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cd78247f-3f5c-43c8-b8e0-f174605318b4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 21:02:51 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0d65e03a-d2d5-4d2f-af66-1781cd8077e1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=2B736306C18887631C3EB518651DAC7E; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTcyODg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNzUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NzV9.3KkPIrZkvV2_nu_cXDnUPoVF4G5_zF9ifIJkERs85TY; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 21:02:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b3a9ffbe-8d41-40f5-9ead-e91aeda51ed5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2B736306C18887631C3EB518651DAC7E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTcyODg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNzUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NzV9.3KkPIrZkvV2_nu_cXDnUPoVF4G5_zF9ifIJkERs85TY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1210)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1199)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5ceafe8b-a9dd-4884-828f-0db61673c4ab |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2B736306C18887631C3EB518651DAC7E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTcyODg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNzUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NzV9.3KkPIrZkvV2_nu_cXDnUPoVF4G5_zF9ifIJkERs85TY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:02:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1213)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1199)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6508dca0-898f-47f0-b802-666a99248ea3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=2B736306C18887631C3EB518651DAC7E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTcyODg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNzUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NzV9.3KkPIrZkvV2_nu_cXDnUPoVF4G5_zF9ifIJkERs85TY |
{ "schemeId" : "bde5dad7-6d8f-49a5-8cb5-e955e9afeac5", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:02 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695330179034,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"ffbaa59e-4066-42ee-b5ea-42a50c31e16f","myOrder":4,"name":"My REST step","resolved":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | eaf0da53-8923-4e8b-8ca3-4f92f674c823 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | JSESSIONID=2B736306C18887631C3EB518651DAC7E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTcyODg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNzUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NzV9.3KkPIrZkvV2_nu_cXDnUPoVF4G5_zF9ifIJkERs85TY |
{
"stepId": "ffbaa59e-4066-42ee-b5ea-42a50c31e16f",
"actionName": "saveContent FROM REST NEW",
"schemeId": "bde5dad7-6d8f-49a5-8cb5-e955e9afeac5",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:08 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"6f72297a-2279-469e-98ef-ccbd1c07301a","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cd934d4d-26eb-4a95-92ae-30bf0f8edb0a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2B736306C18887631C3EB518651DAC7E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTcyODg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNzUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NzV9.3KkPIrZkvV2_nu_cXDnUPoVF4G5_zF9ifIJkERs85TY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 21:03:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3e4cfa38-929c-4a9b-b7c0-488ac4ea8737 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2B736306C18887631C3EB518651DAC7E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTcyODg5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxNzUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1NzV9.3KkPIrZkvV2_nu_cXDnUPoVF4G5_zF9ifIJkERs85TY |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 21:03:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 93001587-00fa-4568-8ab9-9d447db77ca3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 21:03:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 762f65fe-1825-4a70-8f21-279e133d22b8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 106 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Set-Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695330195480,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695330195483,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 80004a74-1074-48f6-9661-35fd381b35da |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695330198528,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"bde5dad7-6d8f-49a5-8cb5-e955e9afeac5","mandatory":false,"modDate":1695330198543,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9805060e-b322-44ce-877a-d99b05dd3e51 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.delete(WorkflowHelper.java:1955)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteScheme(WorkflowResource.java:3159)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d70e2723-04dd-44e3-8e13-83d505e31700 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{"schemeName": "REST Schema", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:24 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695330201723,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"6a0c3bed-78dc-452f-8b05-0006477e403e","mandatory":false,"modDate":1695330201723,"name":"REST Schema","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response includes name | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5bf887c3-b86b-4f62-a32c-6af3e44e7563 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 106 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695330204790,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"6a0c3bed-78dc-452f-8b05-0006477e403e","mandatory":false,"modDate":1695330204790,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3ca3c58e-8db6-4e19-80ce-eb3ff59c08c0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695330207829,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"6a0c3bed-78dc-452f-8b05-0006477e403e","mandatory":false,"modDate":1695330204790,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a content type to associate a system workflow
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 670c7e72-4e3c-4532-b103-7925dd2ca42b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 432 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"defaultType":false,
"fixed":false,
"system":false,
"clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"description":"",
"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d",
"folder":"SYSTEM_FOLDER",
"name":"TestContentTypeSystemActions",
"systemActionMappings":{
"NEW":"ceca71a0-deee-4999-bd47-b01baa1bcfc8"
},
"workflow":[
"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:36 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"fields":[],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695330211000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"14b9c05499ba48cd8a38400b35529c2a","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695330217000,"indexed":false,"listed":false,"modDate":1695330217000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":-1,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"14b9c05499ba48cd8a38400b35529c2a","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695330217000,"indexed":false,"listed":false,"modDate":1695330217000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":-1,"unique":false},"fields":[]}]}],"modDate":1695330211000,"multilingualable":false,"name":"TestContentTypeSystemActions","siteName":"default","sortOrder":0,"system":false,"systemActionMappings":{"NEW":{"identifier":"e4976786-8c0b-44d1-b16d-8ff28aa0e049","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695330211000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695330211000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"NEW","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"ownerContentType":true,"ownerScheme":false}},"variable":"TestContentTypeSystemActions","versionable":true,"workflows":[{"archived":false,"creationDate":1695330216944,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695330147323,"name":"System Workflow","system":true}]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Create for the new content type a new mapping for EDIT
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fe0e5471-49e1-4a6d-b401-567e02f86853 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 133 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionId":"b9d89c80-3d88-4311-8365-187323c96436",
"systemAction":"EDIT",
"contentTypeVariable":"TestContentTypeSystemActions"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"identifier":"653ffeb2-6190-4594-abe6-38d13bd3520f","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695330211000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695330211000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"EDIT","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","LISTING","NEW","UNPUBLISHED","UNLOCKED"]},"ownerContentType":true,"ownerScheme":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the two content types
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 28cf2cff-9864-46a8-9132-3bc209608d76 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"identifier":"e4976786-8c0b-44d1-b16d-8ff28aa0e049","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695330211000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695330211000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"NEW","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"ownerContentType":true,"ownerScheme":false},{"identifier":"653ffeb2-6190-4594-abe6-38d13bd3520f","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695330211000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695330211000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"EDIT","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","PUBLISHED","LISTING","NEW","UNPUBLISHED","UNLOCKED"]},"ownerContentType":true,"ownerScheme":false}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Return 2 items | 1 | 0 | 0 |
| Has New System Action | 1 | 0 | 0 |
| New has a Save Action | 1 | 0 | 0 |
| Has Edit System Action | 1 | 0 | 0 |
| New has a Save/Publish Action | 1 | 0 | 0 |
| Total | 6 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 187d8070-1cc1-4267-b206-976f18852372 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"71676aea0e66d0f01a3a733179ad6907","inode":"00e351d6-2c43-4806-acac-f3f0eaed7434","languageId":1,"live":false,"locked":false,"modDate":1695330220116,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330220116,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"71676aea0e66d0f01a3a733179ad6907","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.00e351d6-2c43-4806-acac-f3f0eaed7434","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fires an EDIT default action
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4ce80794-2a65-41f5-a2c3-9f3ca6ea2e5a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"b01e809ea5f7e269599c45cfee2cb121","inode":"48fb7b71-2941-40ed-80d4-67e00af72479","languageId":1,"live":true,"locked":false,"modDate":1695330226281,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330226281,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"b01e809ea5f7e269599c45cfee2cb121","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.48fb7b71-2941-40ed-80d4-67e00af72479","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fires an PUBLISH default action
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f40a2d49-d534-44dd-ac3e-08d1a7bedde0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:03:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"bff9b2cf6bbb2e192b01cf80ce14e6c4","inode":"3ea24de5-7e81-4043-90cd-d4f09b02dcde","languageId":1,"live":true,"locked":false,"modDate":1695330232548,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330232548,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"bff9b2cf6bbb2e192b01cf80ce14e6c4","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.3ea24de5-7e81-4043-90cd-d4f09b02dcde","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Publish Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6e3366f6-c020-42b4-90f6-2d256c78d23c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 21:03:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"hostSwitched":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7c933f4a-89a8-46e7-bb74-0df0f35d7522 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 197 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"comments":"Adding New Generic content",
"contentlet": {
"contentType":"webPageContent",
"title":"Test Merge Content",
"body":"Test Merge Body",
"contentHost":"default"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:04:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test Merge Body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"cdd045de9066f6c90bd4c1307bf75b2d","inode":"7fa1fb11-98f3-43e3-9b84-005836396f1b","languageId":1,"live":false,"locked":false,"modDate":1695330238867,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330238867,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test Merge Content","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.7fa1fb11-98f3-43e3-9b84-005836396f1b","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 63d44677-232d-4bf1-845e-3b8a2f1794fd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 197 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"comments":"Publish an existing Generic content",
"query":"+contentType:webPageContent AND title:\"Test Merge Content\"",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:04:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"cdd045de9066f6c90bd4c1307bf75b2d":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","body":"Test Merge Body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"cdd045de9066f6c90bd4c1307bf75b2d","inode":"37af2098-8ddf-4bf0-9aae-ae83e3c5c3de","languageId":1,"live":true,"locked":false,"modDate":1695330245570,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330245570,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test Merge Content Published","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.7fa1fb11-98f3-43e3-9b84-005836396f1b","working":true}}],"summary":{"affected":1,"failCount":0,"successCount":1,"time":7021}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 225fc3af-be38-4b87-bb76-054304618fc5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 153 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet": {
"contentType":"webPageContent",
"title":"Test title",
"body":"Test body",
"contentHost":"default"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:04:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"42e9c0a2faf36066513910dfc3a6cdf0","inode":"ced8fc76-69b7-4a5c-bb2b-82cf750c7f64","languageId":1,"live":false,"locked":false,"modDate":1695330252611,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330252611,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test title","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.ced8fc76-69b7-4a5c-bb2b-82cf750c7f64","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bbc75e0a-8c4c-4b76-a10e-76d8120aebd1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 121 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"comments":"Publish an existing Generic content",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:04:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"811e3dda-049f-48d9-a96c-10f0dc341047":{"errorMessage":"Content not found","identifier":null,"inode":"811e3dda-049f-48d9-a96c-10f0dc341047"}}],"summary":{"affected":1,"failCount":1,"successCount":0,"time":8}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c93cd8b0-f64a-4f81-aa42-2c6dfd05084c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 121 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"comments":"Publish an existing Generic content",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:04:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"xxxx":{"errorMessage":"Content not found","identifier":null,"inode":"xxxx"}}],"summary":{"affected":1,"failCount":1,"successCount":0,"time":2}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Content Not Found | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 602fcf0d-3774-433a-b6f9-33fb497eacec |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 3448 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlets":[
{
"contentType":"webPageContent",
"title":"Content1",
"contentHost":"default",
"body":"Body Content1"
},
{
"contentType":"webPageContent",
"title":"Content2",
"contentHost":"default",
"body":"Body Content2"
},
{
"contentType":"webPageContent",
"title":"Content3",
"contentHost":"default",
"body":"Body Content3"
},
{
"contentType":"webPageContent",
"title":"Content4",
"contentHost":"default",
"body":"Body Content4"
},
{
"contentType":"webPageContent",
"title":"Content5",
"contentHost":"default",
"body":"Body Content5"
},
{
"contentType":"webPageContent",
"title":"Content6",
"contentHost":"default",
"body":"Body Content6"
},
{
"contentType":"webPageContent",
"title":"Content7",
"contentHost":"default",
"body":"Body Content7"
},
{
"contentType":"webPageContent",
"title":"Content8",
"contentHost":"default",
"body":"Body Content8"
},
{
"contentType":"webPageContent",
"title":"Content9",
"contentHost":"default",
"body":"Body Content9"
},
{
"contentType":"webPageContent",
"title":"Content10",
"contentHost":"default",
"body":"Body Content10"
},
{
"contentType":"webPageContent",
"title":"Content11",
"contentHost":"default",
"body":"Body Content11"
},
{
"contentType":"webPageContent",
"title":"Content12",
"contentHost":"default",
"body":"Body Content12"
},
{
"contentType":"webPageContent",
"title":"Content13",
"contentHost":"default",
"body":"Body Content13"
},
{
"contentType":"webPageContent",
"title":"Content14",
"contentHost":"default",
"body":"Body Content14"
},
{
"contentType":"webPageContent",
"title":"Content15",
"contentHost":"default",
"body":"Body Content15"
},
{
"contentType":"webPageContent",
"title":"Content16",
"contentHost":"default",
"body":"Body Content16"
},
{
"contentType":"webPageContent",
"title":"Content17",
"contentHost":"default",
"body":"Body Content17"
},
{
"contentType":"webPageContent",
"title":"Content18",
"contentHost":"default",
"body":"Body Content18"
},
{
"contentType":"webPageContent",
"title":"Content19",
"contentHost":"default",
"body":"Body Content19"
},
{
"contentType":"webPageContent",
"title":"Content20",
"contentHost":"default",
"body":"Body Content20"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:04:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"ca73395f470f72630502bcb449f1ec7a":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content2","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"ca73395f470f72630502bcb449f1ec7a","inode":"39ee61a1-3937-4b19-8718-9c59a46d4a0f","languageId":1,"live":true,"locked":false,"modDate":1695330258894,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330258894,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content2","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.39ee61a1-3937-4b19-8718-9c59a46d4a0f","working":true}},{"34f4156d1225df72e3017fc23f66be2d":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content1","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"34f4156d1225df72e3017fc23f66be2d","inode":"5cbfc457-5f96-44cd-976c-8641270af338","languageId":1,"live":true,"locked":false,"modDate":1695330258890,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330258890,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content1","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.5cbfc457-5f96-44cd-976c-8641270af338","working":true}},{"30b506fb043fba5813b72792685aeda0":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content3","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"30b506fb043fba5813b72792685aeda0","inode":"dc929d70-b39b-446b-a981-39ff005bbe7b","languageId":1,"live":true,"locked":false,"modDate":1695330265101,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330265101,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content3","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.dc929d70-b39b-446b-a981-39ff005bbe7b","working":true}},{"9aff48805be236692334ed2930df10cc":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content4","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9aff48805be236692334ed2930df10cc","inode":"516c6a11-9ea9-4401-8364-6ace21c27d91","languageId":1,"live":true,"locked":false,"modDate":1695330265139,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330265139,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content4","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.516c6a11-9ea9-4401-8364-6ace21c27d91","working":true}},{"c9f942acf11174704a8dfa6060ebdc26":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content5","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c9f942acf11174704a8dfa6060ebdc26","inode":"bc6cfd77-27c9-41cd-8ba5-8a03c84a2be5","languageId":1,"live":true,"locked":false,"modDate":1695330271296,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330271296,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content5","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.bc6cfd77-27c9-41cd-8ba5-8a03c84a2be5","working":true}},{"b2cc5ccfbae4c995735ea15bfcff7feb":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content6","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"b2cc5ccfbae4c995735ea15bfcff7feb","inode":"f18a7df7-9889-492c-8cfa-4177c9bd53b4","languageId":1,"live":true,"locked":false,"modDate":1695330271331,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330271331,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content6","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.f18a7df7-9889-492c-8cfa-4177c9bd53b4","working":true}},{"405798d9356c7c467809ff9d31c97113":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content7","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"405798d9356c7c467809ff9d31c97113","inode":"8afd36c7-4ab7-4090-b0df-42fe93b37914","languageId":1,"live":true,"locked":false,"modDate":1695330277497,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330277497,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content7","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.8afd36c7-4ab7-4090-b0df-42fe93b37914","working":true}},{"e47a55ca1d19a641f5a4a161f0decd85":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content8","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"e47a55ca1d19a641f5a4a161f0decd85","inode":"6b33d97a-c491-4984-9031-64990d901a8c","languageId":1,"live":true,"locked":false,"modDate":1695330277549,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330277549,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content8","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.6b33d97a-c491-4984-9031-64990d901a8c","working":true}},{"53b9e24c3e1fab5558f0f6562399148e":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content9","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"53b9e24c3e1fab5558f0f6562399148e","inode":"5aa39e5c-b4a9-45b9-b78c-17d47af34c22","languageId":1,"live":true,"locked":false,"modDate":1695330283721,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330283721,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content9","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.5aa39e5c-b4a9-45b9-b78c-17d47af34c22","working":true}},{"65c0b6909621306275c9ed9a29a5b1b5":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content10","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"65c0b6909621306275c9ed9a29a5b1b5","inode":"840aee8c-3099-407c-8d83-401f770934df","languageId":1,"live":true,"locked":false,"modDate":1695330283818,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330283818,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content10","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.840aee8c-3099-407c-8d83-401f770934df","working":true}},{"5605a17a4c617a01e8098473f7bf73cd":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content11","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"5605a17a4c617a01e8098473f7bf73cd","inode":"9609fe6c-5bca-4823-b258-59a235db5e15","languageId":1,"live":true,"locked":false,"modDate":1695330289893,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330289893,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content11","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.9609fe6c-5bca-4823-b258-59a235db5e15","working":true}},{"d35e1ac43dc95b70063ab791ed73baa4":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content12","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"d35e1ac43dc95b70063ab791ed73baa4","inode":"9698e999-f879-4356-817b-91a8ef663292","languageId":1,"live":true,"locked":false,"modDate":1695330290134,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330290134,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content12","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.9698e999-f879-4356-817b-91a8ef663292","working":true}},{"5213bd5e1446dc05deb98b98e728a272":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content13","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"5213bd5e1446dc05deb98b98e728a272","inode":"c632d7b6-9b12-4874-a70e-093d2098d55f","languageId":1,"live":true,"locked":false,"modDate":1695330296031,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330296031,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content13","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.c632d7b6-9b12-4874-a70e-093d2098d55f","working":true}},{"877a0e6b877bcd9275cb7f937149950d":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content14","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"877a0e6b877bcd9275cb7f937149950d","inode":"c3eef2de-1392-45a7-9dad-9dbfdaf65b49","languageId":1,"live":true,"locked":false,"modDate":1695330296309,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330296309,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content14","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.c3eef2de-1392-45a7-9dad-9dbfdaf65b49","working":true}},{"8e578163e5896ec219b6f3d837599862":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content15","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"8e578163e5896ec219b6f3d837599862","inode":"a1102aa6-be3f-4983-9392-ea4ad3db9f6a","languageId":1,"live":true,"locked":false,"modDate":1695330302227,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330302227,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content15","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.a1102aa6-be3f-4983-9392-ea4ad3db9f6a","working":true}},{"f2354d9799221a1c38c6dea5b71e713f":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content16","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"f2354d9799221a1c38c6dea5b71e713f","inode":"61392297-5061-4838-83ed-a3808323634b","languageId":1,"live":true,"locked":false,"modDate":1695330302470,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330302470,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content16","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.61392297-5061-4838-83ed-a3808323634b","working":true}},{"02358ff006e643ab6dc3f6e4c434636a":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content17","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"02358ff006e643ab6dc3f6e4c434636a","inode":"e45f6ad5-63e9-460d-a9d0-636b960305f1","languageId":1,"live":true,"locked":false,"modDate":1695330308352,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330308352,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content17","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.e45f6ad5-63e9-460d-a9d0-636b960305f1","working":true}},{"43bdb8f523f32ed62f4e57ed4200fffa":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content18","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"43bdb8f523f32ed62f4e57ed4200fffa","inode":"4a2f72e5-7dc9-4525-b6f1-3d6369903593","languageId":1,"live":true,"locked":false,"modDate":1695330308629,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330308629,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content18","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.4a2f72e5-7dc9-4525-b6f1-3d6369903593","working":true}},{"18ba006ed27013c9d5f67b96ed88db48":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content19","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"18ba006ed27013c9d5f67b96ed88db48","inode":"ac549320-665e-46e5-924e-40c436f43f41","languageId":1,"live":true,"locked":false,"modDate":1695330314603,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330314603,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content19","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.ac549320-665e-46e5-924e-40c436f43f41","working":true}},{"4762b65e2323bd3cca788db08f6684c6":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content20","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"4762b65e2323bd3cca788db08f6684c6","inode":"ce5af07b-9745-4fbf-bc9c-3dbfb9517bd5","languageId":1,"live":true,"locked":false,"modDate":1695330314865,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330314865,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content20","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.ce5af07b-9745-4fbf-bc9c-3dbfb9517bd5","working":true}}],"summary":{"affected":20,"failCount":0,"successCount":20,"time":62156}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates several contentlets but some of them are sent without ContentType so it should fail
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 77e7651a-8144-44b7-a2c2-1cc2add078ef |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 336 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlets":[
{
"contentType":"webPageContent",
"title":"Content1 SUCCESS",
"contentHost":"default",
"body":"Body Content1"
},
{
"title":"Content2 FAIL",
"contentHost":"default",
"body":"Body Content2"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:05:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"{title=Content2 FAIL, contentHost=default, body=Body Content2}":{"errorMessage":"Content Type does not exist","identifier":null,"inode":null}},{"be6c21607b5b5405a9430b4e1165d276":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content1","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"be6c21607b5b5405a9430b4e1165d276","inode":"3782f0e6-755e-4d42-b335-e7848f10919e","languageId":1,"live":true,"locked":false,"modDate":1695330321093,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330321093,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content1 SUCCESS","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.3782f0e6-755e-4d42-b335-e7848f10919e","working":true}}],"summary":{"affected":2,"failCount":1,"successCount":1,"time":6178}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Errors | 1 | 0 | 0 |
| Success | 1 | 0 | 0 |
| Affected | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a temporal file to be uploaded later
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Origin | http://localhost:8080 |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1d1bd40f-35be-4a68-8a0f-19d3ac4a7ff8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"fileName":"250px-Bocas2.jpg",
"remoteUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Bocas2.jpg/250px-Bocas2.jpg"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:05:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"tempFiles":[{"fileName":"250px-Bocas2.jpg","folder":"","id":"temp_505be0d513","image":true,"length":10555,"mimeType":"image/jpeg","referenceUrl":"/dA/temp_505be0d513/tmp/250px-Bocas2.jpg","thumbnailUrl":"/contentAsset/image/temp_505be0d513/tmp/filter/Thumbnail/thumbnail_w/250/thumbnail_h/250/250px-Bocas2.jpg"}]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| File name check | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates several contentlets with binary fields on them, to achieve this the file must be uploaded first using the temp resource.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0b8f348e-2d4e-4178-9c4d-ef6049eaec79 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 162 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlets":[
{
"contentType":"DotAsset",
"asset":"temp_505be0d513",
"hostFolder":"default"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:05:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"73182827975daf52703fd6db10f80e71":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpgIcon","archived":false,"asset":"/dA/73182827975daf52703fd6db10f80e71/asset/250px-Bocas2.jpg","assetContentAsset":"73182827975daf52703fd6db10f80e71/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":10555,"height":187,"isImage":true,"length":10555,"modDate":1695330327948,"name":"250px-Bocas2.jpg","sha256":"735c49b3d9ee65891ae038fa7005cff339d66414a4c8aeefa9900c855d637a61","title":"250px-Bocas2.jpg","version":20220201,"width":250},"assetVersion":"/dA/7a637faa-8f10-45d1-bc3e-7c78c05f53ea/asset/250px-Bocas2.jpg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"73182827975daf52703fd6db10f80e71","inode":"7a637faa-8f10-45d1-bc3e-7c78c05f53ea","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1695330328017,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"250px-Bocas2.jpg","owner":"dotcms.org.1","path":"/content.7a637faa-8f10-45d1-bc3e-7c78c05f53ea","publishDate":1695330328017,"size":10555,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"250px-Bocas2.jpg","titleImage":"asset","type":"dotasset","url":"/content.7a637faa-8f10-45d1-bc3e-7c78c05f53ea","working":true}}],"summary":{"affected":1,"failCount":0,"successCount":1,"time":6202}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Errors | 1 | 0 | 0 |
| Success | 1 | 0 | 0 |
| Affected | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 47cfbc1c-9ab3-42fc-9712-ff31bc62a9d0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 496 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"stepId": "dc3c9cd0-8467-404b-bf95-cb7df3fbc293",
"actionName": "Move Test",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse": [],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:05:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"48039791-8d43-4b15-b000-0ce0b87f784a","name":"Move Test","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e9fd427a-c053-4a7e-9d4d-1589bb7aad00 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 93 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionletClass":"com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 21:05:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 91a5b50f-f54e-464d-9093-ab2bafee71bc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 379 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet":{
"stName": "htmlpageasset",
"title": "PageAsset ContentAlreadyExists Move",
"url": "pageassetcontentalreadyexistsmove",
"friendlyName":"pageassetsystemtemplate",
"template": "//default/application/templates/system/",
"sortOrder": "0",
"cachettl": "100",
"hostFolder":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:05:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"pageIcon","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"SYSTEM_FOLDER","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9175a351dae9a6884089e6369ed55b8c","inode":"e4b7f43b-3e28-4825-af6c-6f944f94e1f9","isContentlet":true,"languageId":1,"live":true,"liveInode":"e4b7f43b-3e28-4825-af6c-6f944f94e1f9","locked":false,"mimeType":"application/dotpage","modDate":1695330343361,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/pageassetcontentalreadyexistsmove","publishDate":1695330343361,"shortyLive":"e4b7f43b3e","shortyWorking":"e4b7f43b3e","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/pageassetcontentalreadyexistsmove","working":true,"workingInode":"e4b7f43b-3e28-4825-af6c-6f944f94e1f9"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Identifier must contains path | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4d4dfe48-dc07-4cc3-963e-daa0de72ed12 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:05:59 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__icon__":"pageIcon","_path_to_move":"//default/moveto","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"d4381981618af4daa59a925ee70d30c3","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9175a351dae9a6884089e6369ed55b8c","inode":"e4b7f43b-3e28-4825-af6c-6f944f94e1f9","isContentlet":true,"languageId":1,"live":true,"liveInode":"e4b7f43b-3e28-4825-af6c-6f944f94e1f9","locked":false,"mimeType":"application/dotpage","modDate":1695330343361,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/moveto/pageassetcontentalreadyexistsmove","publishDate":1695330343361,"shortyLive":"e4b7f43b3e","shortyWorking":"e4b7f43b3e","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/moveto/pageassetcontentalreadyexistsmove","working":true,"workingInode":"e4b7f43b-3e28-4825-af6c-6f944f94e1f9"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e51ab044-c80a-40ce-99bf-81c4ac979ff1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 379 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet":{
"stName": "htmlpageasset",
"title": "PageAsset ContentAlreadyExists Move",
"url": "pageassetcontentalreadyexistsmove",
"friendlyName":"pageassetsystemtemplate",
"template": "//default/application/templates/system/",
"sortOrder": "0",
"cachettl": "100",
"hostFolder":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:06:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"pageIcon","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"SYSTEM_FOLDER","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"21b13910-b951-4a17-bbb1-05bc5ce6d06c","inode":"adff64d6-62ee-4bbe-87e2-49351ae0633e","isContentlet":true,"languageId":1,"live":true,"liveInode":"adff64d6-62ee-4bbe-87e2-49351ae0633e","locked":false,"mimeType":"application/dotpage","modDate":1695330359602,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/pageassetcontentalreadyexistsmove","publishDate":1695330359602,"shortyLive":"adff64d662","shortyWorking":"adff64d662","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/pageassetcontentalreadyexistsmove","working":true,"workingInode":"adff64d6-62ee-4bbe-87e2-49351ae0633e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Identifier must contains path | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 337dc027-29ec-4f24-8aa8-3e40135ee231 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/ |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:06:05 GMT |
| Connection | close |
{"message":"Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:538)\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:481)\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:413)\n\tat com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.move(ContentletAPIInterceptor.java:650)\n\tat com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet.lambda$executeAction$5e0ff813$1(MoveContentActionlet.java:78)\n\tat io.vavr.control.Try.of(Try.java:75)\n\tat com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet.executeAction(MoveContentActionlet.java:78)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireWorkflowPostCheckin(WorkflowAPIImpl.java:2410)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.lambda$fireContentWorkflow$73(WorkflowAPIImpl.java:3368)\n\tat com.dotcms.util.ThreadContextUtil.wrapVoidNoReindex(ThreadContextUtil.java:85)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireContentWorkflow(WorkflowAPIImpl.java:3368)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2455)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 073bf0c4-e5f3-4d19-baa5-37ff4c2f0485 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 496 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"stepId": "dc3c9cd0-8467-404b-bf95-cb7df3fbc293",
"actionName": "Move Test",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse": [],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:06:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"022582f2-e196-4bc3-be8e-1743887ba00c","name":"Move Test","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["LOCKED","PUBLISHED","NEW","UNPUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 77d6228c-37f8-4701-ad86-56d7d4882e7d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 93 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionletClass":"com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 21:06:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d0122d78-9036-413b-941b-48a0d0a0f5a9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet": {
"contentType": "webPageContent",
"title":"Test",
"body":"Test",
"contentHost":"SYSTEM_HOST"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:06:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"e2815ae7948b0e5dbdfc127d1c05ebe0","inode":"25fc1dac-ee5b-4888-bd3f-5da62610d198","languageId":1,"live":true,"locked":false,"modDate":1695330375035,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330375035,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.25fc1dac-ee5b-4888-bd3f-5da62610d198","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dcfe1e37-813c-4d8c-9876-6bfc9f96b78d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:06:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"_path_to_move":"//default/moveto","archived":false,"baseType":"CONTENT","body":"Test","contentType":"webPageContent","folder":"d4381981618af4daa59a925ee70d30c3","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"e2815ae7948b0e5dbdfc127d1c05ebe0","inode":"25fc1dac-ee5b-4888-bd3f-5da62610d198","languageId":1,"live":true,"locked":false,"modDate":1695330375035,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330375035,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/moveto/content.25fc1dac-ee5b-4888-bd3f-5da62610d198","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 782e159c-4e0f-4501-b2da-81f276e7ea0f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:06:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"defaultFileType":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","filesMasks":"","host":{"aliases":null,"archived":false,"categoryId":"1b407535-67e3-4f21-ad00-8ef5ef492d64","contentTypeId":"855a2d72-f2f3-4169-8b04-ac5157c4380c","default":true,"dotAsset":false,"fileAsset":false,"folder":"SYSTEM_FOLDER","form":false,"host":"SYSTEM_HOST","hostThumbnail":null,"hostname":"default","htmlpage":false,"identifier":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","indexPolicyDependencies":"DEFER","inode":"1b407535-67e3-4f21-ad00-8ef5ef492d64","keyValue":false,"languageId":1,"live":true,"locked":true,"lowIndexPriority":false,"modDate":1685051810282,"modUser":"dotcms.org.1","name":"default","new":false,"owner":"dotcms.org.1","parent":true,"permissionId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","permissionType":"com.dotmarketing.portlets.contentlet.model.Contentlet","persona":false,"sortOrder":0,"structureInode":"855a2d72-f2f3-4169-8b04-ac5157c4380c","systemHost":false,"tagStorage":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","title":"default","titleImage":null,"type":"contentlet","vanityUrl":false,"variantId":"DEFAULT","versionId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true},"hostId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","idate":1695330350325,"identifier":"d4381981618af4daa59a925ee70d30c3","inode":"d4381981618af4daa59a925ee70d30c3","map":{"defaultFileType":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","filesMasks":"","hostId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695330350325,"identifier":"d4381981618af4daa59a925ee70d30c3","inode":"d4381981618af4daa59a925ee70d30c3","modDate":1695330350325,"name":"moveto","owner":null,"path":"/moveto/","showOnMenu":false,"sortOrder":0,"title":"moveto","type":"folder"},"modDate":1695330350325,"name":"moveto","owner":null,"parent":true,"path":"/moveto/","permissionId":"d4381981618af4daa59a925ee70d30c3","permissionType":"com.dotmarketing.portlets.folders.model.Folder","showOnMenu":false,"sortOrder":0,"systemFolder":false,"title":"moveto","type":"folder"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 175acac7-3cac-40ce-a245-80559446ef76 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Content-Length | 2587342 |
{"file":"resources/issue-21482-01G2AM0CE9G41M4B0P7HAYDNWT.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 81 |
| Date | Thu, 21 Sep 2023 21:06:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"issue-21482-01G2AM0CE9G41M4B0P7HAYDNWT.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 04370ae0-7abe-4dd0-a39e-f872e1477ef5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 111 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{"query":"+contentType:Issue21482 +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:06:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":34,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2022-05-05 17:06:40.823","imageMetaData":{"modDate":1651770380645,"sha256":"e2ef5df248c8face63c243fdd420e8245096ac93af233755d41ae76c20ab7dbe","length":2192322,"title":"Iron Maiden Somewhere in time front cover.jpeg","version":20220201,"isImage":true,"fileSize":2192322,"name":"Iron Maiden Somewhere in time front cover.jpeg","width":1280,"contentType":"image/jpeg","height":1280},"publishDate":"2022-05-05 17:06:40.823","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","title":"Iron Maiden","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","baseType":"CONTENT","inode":"5da9f247-3308-48fd-9f3a-00138ba0d427","archived":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"videoMetaData":{"modDate":1651770396125,"sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","length":386530,"title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"isImage":true,"fileSize":386530,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","width":1250,"contentType":"image/jpeg","height":1231},"stInode":"665acd917b55aa436b7773223e4c1ff2","contentType":"Issue21482","live":true,"owner":"dotcms.org.1","imageVersion":"/dA/5da9f247-3308-48fd-9f3a-00138ba0d427/image/Iron Maiden Somewhere in time front cover.jpeg","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","image":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/image/Iron Maiden Somewhere in time front cover.jpeg","imageContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/image","languageId":1,"url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","titleImage":"image","modUserName":"Admin User","hasLiveVersion":true,"videoVersion":"/dA/5da9f247-3308-48fd-9f3a-00138ba0d427/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","folder":"SYSTEM_FOLDER","hasTitleImage":true,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":853,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | de56a77f-e73c-4724-a564-eedda3b872a9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 291 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionName": "publish",
"comments": "Publishing content",
"contentlet":{
"title": "Iron Maiden - Somewhere in time",
"contentHost": "demo.dotcms.com",
"identifier": "1d5e378c9c6e03c9e72d5dbcb79cdb35",
"contentType":"Issue21482"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:06:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"Issue21482","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","image":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/image/Iron Maiden Somewhere in time front cover.jpeg","imageContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/image","imageMetaData":{"contentType":"image/jpeg","fileSize":2192322,"height":1280,"isImage":true,"length":2192322,"modDate":1695330388088,"name":"Iron Maiden Somewhere in time front cover.jpeg","sha256":"e2ef5df248c8face63c243fdd420e8245096ac93af233755d41ae76c20ab7dbe","title":"Iron Maiden Somewhere in time front cover.jpeg","version":20220201,"width":1280},"imageVersion":"/dA/5fe9467b-b8ea-4e9d-8873-9d8922ee2538/image/Iron Maiden Somewhere in time front cover.jpeg","inode":"5fe9467b-b8ea-4e9d-8873-9d8922ee2538","languageId":1,"live":true,"locked":false,"modDate":1695330399805,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330399805,"sortOrder":0,"stInode":"665acd917b55aa436b7773223e4c1ff2","title":"Iron Maiden - Somewhere in time","titleImage":"image","url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","videoMetaData":{"contentType":"image/jpeg","fileSize":386530,"height":1231,"isImage":true,"length":386530,"modDate":1695330388096,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"width":1250},"videoVersion":"/dA/5fe9467b-b8ea-4e9d-8873-9d8922ee2538/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0068655d-900a-4790-a656-6d6f7af87412 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 312 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionName": "publish",
"comments": "Publishing content",
"contentlet":{
"title": "Iron Maiden - Somewhere in time",
"contentHost": "demo.dotcms.com",
"identifier": "1d5e378c9c6e03c9e72d5dbcb79cdb35",
"contentType":"Issue21482",
"image":null
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:06:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"Issue21482","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","inode":"bbbb67e5-8355-43c1-b411-c4836d0d0a19","languageId":1,"live":true,"locked":false,"modDate":1695330406076,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330406076,"sortOrder":0,"stInode":"665acd917b55aa436b7773223e4c1ff2","title":"Iron Maiden - Somewhere in time","titleImage":"video","url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","videoMetaData":{"contentType":"image/jpeg","fileSize":386530,"height":1231,"isImage":true,"length":386530,"modDate":1695330388096,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"width":1250},"videoVersion":"/dA/bbbb67e5-8355-43c1-b411-c4836d0d0a19/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | db8ca756-16d2-4ef8-8701-5614f5e90897 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:06:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"id":"e7d4e34e-5127-45fc-8123-d48b62d510e3","name":"Admin User (User)","roleKey":"dotcms.org.1","user":true},{"id":"654b0931-1027-41f7-ad4d-173115ed8ec1","name":"Current User","roleKey":"CMS Anonymous","user":false},{"id":"6b1fa42f-8729-4625-80d1-17e4ef691ce7","name":"CMS Owner","roleKey":"CMS Owner","user":false},{"id":"742c9eb3-8651-4df4-b1dc-00c8c64aee4f","name":"LDAP User","roleKey":"LDAP User","user":false},{"id":"6f9d5449-8f48-4179-a2ad-1983d6217fef","name":"Login As","roleKey":"Login As","user":false}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| length check | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 19a5e35f-0716-48d6-837a-a0f7459cdd0b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 308 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["654b0931-1027-41f7-ad4d-173115ed8ec1"],
"WRITE":["654b0931-1027-41f7-ad4d-173115ed8ec1"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:07:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"ac9b41bdd1aee07fc1a5c2dcdbe55f0c","inode":"8235aa28-ee52-426b-a906-0c1a8ae8f7e5","languageId":1,"live":true,"locked":false,"modDate":1695330412408,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330412408,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test3-11","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.8235aa28-ee52-426b-a906-0c1a8ae8f7e5","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 31c05e50-fe3a-432a-a31e-9034e87321d9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:07:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"bitPermission":false,"id":0,"inode":"ac9b41bdd1aee07fc1a5c2dcdbe55f0c","permission":"EDIT","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"individual"},{"bitPermission":false,"id":0,"inode":"ac9b41bdd1aee07fc1a5c2dcdbe55f0c","permission":"READ","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"individual"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| The permission should be EDIT | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This endpoint imports a bundle that contains an instance of a Content Type that contains 2 category fields.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2470c148-6f18-4202-b081-c18e53ce2645 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Content-Length | 10047 |
{"file":"resources/issue-22756-categories-01GCAK78NPY1JH8TRGX8SWCVN3.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 92 |
| Date | Thu, 21 Sep 2023 21:07:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"issue-22756-categories-01GCAK78NPY1JH8TRGX8SWCVN3.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Once the Content type that contains the category fields has been imported this request finds it and gets the identifier from it.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | abe9068b-6b8e-4871-9a09-dc99c288af7f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 120 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{"query":"+contentType:BikeNameAndCategory +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:07:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":56,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2022-09-06 23:12:52.124","publishDate":"2022-09-06 23:12:52.124","title":"Update Norco Revolver","baseType":"CONTENT","inode":"98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","archived":false,"bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"stInode":"e80119073f35eef47d321e74783d0d9b","contentType":"BikeNameAndCategory","make":[{"Norco":"Norco"}],"live":true,"owner":"dotcms.org.1","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","languageId":1,"url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":6,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This is basically the happy path test. We validate that the content-type can be updated passing arrays of valid categories. Then verify the response to check the categories are the expected.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4dfa00d5-a92b-472c-8b72-dad8967b00d4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 353 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":["MTB","Road"],
"make":["Norco"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:07:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"b2657c7e-fc48-4ca3-a92c-3d4ea3af9c20","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695330435190,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330435190,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This test is meant to send a request without including any of the category fields. The categories on the target content should remain the same.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7da27e38-1e97-4d24-968e-41abcf6762e4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 300 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:07:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"05739904-0aa8-479d-bf29-b7ed7a14debb","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695330441406,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330441406,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This request is intended to fetch the instance of our content with categories and verify it remains unmodified after the last request that had excluded the category fields.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 53db3f57-9bb6-4c6c-8684-5c2ab67928af |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 120 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{"query":"+contentType:BikeNameAndCategory +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:07:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":20,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2023-09-21 21:07:21.406","publishDate":"2023-09-21 21:07:21.406","title":"Update Norco Revolver","baseType":"CONTENT","inode":"05739904-0aa8-479d-bf29-b7ed7a14debb","archived":false,"bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"stInode":"e80119073f35eef47d321e74783d0d9b","contentType":"BikeNameAndCategory","make":[{"Norco":"Norco"}],"live":true,"owner":"dotcms.org.1","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","languageId":1,"url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":7,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Now we're gonna try removing the contents from one of the category fields and at the same time we're gonna ignore the second field.
The expected outcome is: Content withe the "bikeType" field cleared and the while "make" should still keep their values.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4fefa8cc-9bdf-4732-b3f1-63718e43b42e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 316 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":[]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:07:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"b8b074f6-5089-4f28-9135-3d4e8a755307","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695330447647,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330447647,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
In this request we want to test that when sending an invalid category name we can expect an invalid request response.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 284a691b-f32e-4b5f-b4b4-ed5963148138 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 321 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":["lol"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:07:33 GMT |
| Connection | close |
{"message":"Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier.\n\tat com.dotcms.rest.MapToContentletPopulator.getCategoriesFromStringValue(MapToContentletPopulator.java:605)\n\tat com.dotcms.rest.MapToContentletPopulator.internalFetchCategories(MapToContentletPopulator.java:490)\n\tat com.dotcms.rest.MapToContentletPopulator.fetchCategories(MapToContentletPopulator.java:458)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1593)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionByNameSinglePart(WorkflowResource.java:1535)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This request is intended to test that we can also update categories sending them on the request as a comma separated string.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 83505c6e-cdaf-425d-af45-4517b494811e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 324 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":"MTB,Road"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:07:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"9b9ea7f4-f006-42fd-810d-b8abc176c3ee","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695330453858,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330453858,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
And finally we want to test that sending null as the value on the category field has the same effect as ignoring the field.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fe0c7f15-b8a4-46b1-bd75-4a19fa496acb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 338 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":null,
"make":null
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:07:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"2174ccb8-bc62-428b-a834-545756107ce9","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695330460076,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330460076,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Imports a Bundle that includes:
* HTMLPage /blog/index
* HTMLPage /blog/destinations/costa-rica
* Contentlet [Blog] Ecotourism in Costa Rica
* Blog Detail Page /blog/blog-detail
| Header Name | Header Value |
|---|---|
| Content-Type | application/octet-stream |
| Content-Disposition | attachment |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a4bde8c8-2a11-4be1-93be-ba5d2033e742 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
| Content-Length | 13216 |
{"file":"resources/WorkflowResource/experimentType.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 57 |
| Date | Thu, 21 Sep 2023 21:07:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"experimentType.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Bundle uploaded sucessfully | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8d83b480-4d39-424a-85f3-b7d4e54df5c3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 486 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{ "contentlet" : {
"stInode" : "28ff0587887d2be07175b8b4fe06129f",
"languageId" : 1,
"name": "experiment 2",
"description": "exp desc",
"trafficAllocation": 50.0,
"trafficProportion": {
"variants": [
{
"name": "default",
"trafficPercentage": 50.0
},
{
"name": "variant1",
"trafficPercentage": 50.0
}
],
"type": "SPLIT_EVENLY"
}
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Experiment","description":"exp desc","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"48190c8c-42c4-46af-8d1a-0cd5db894797","hostName":"demo.dotcms.com","identifier":"b1776c086574c0362bc1f1d06dba0b89","inode":"f75a03ae-7e62-493d-9d1c-91b80ff8f4d9","languageId":1,"live":true,"locked":false,"modDate":1695330478653,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"experiment 2","owner":"dotcms.org.1","publishDate":1695330478653,"sortOrder":0,"stInode":"28ff0587887d2be07175b8b4fe06129f","title":"experiment 2","titleImage":"TITLE_IMAGE_NOT_FOUND","trafficAllocation":50.0,"trafficProportion":{"type":"SPLIT_EVENLY","variants":[{"name":"default","trafficPercentage":50.0},{"name":"variant1","trafficPercentage":50.0}]},"url":"/content.f75a03ae-7e62-493d-9d1c-91b80ff8f4d9","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid JSON field in response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ff188350-91a5-4dbe-bc7c-260767c6438c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 280 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet": {
"hostFolder":"default",
"title": "greatings.txt",
"fileName": "greatings.txt",
"fileAsset": {
"fileName": "greatings.txt",
"content": "Hello dotCMS"
},
"contentType": "FileAsset"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"txtIcon","archived":false,"baseType":"FILEASSET","contentType":"FileAsset","description":"","extension":"txt","fileAsset":"/dA/00efc056471d5dab0ffc93da187df97f/fileAsset/greatings.txt","fileAssetContentAsset":"00efc056471d5dab0ffc93da187df97f/fileAsset","fileAssetVersion":"/dA/2c3a4f7f-97ba-45a6-a588-42cda17d09b9/fileAsset/greatings.txt","fileName":"greatings.txt","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"00efc056471d5dab0ffc93da187df97f","inode":"2c3a4f7f-97ba-45a6-a588-42cda17d09b9","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"text/plain; charset=ISO-8859-1","modDate":1695330484888,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"greatings.txt","owner":"dotcms.org.1","parent":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","path":"/greatings.txt","publishDate":1695330484888,"size":12,"sortOrder":0,"stInode":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"greatings.txt","titleImage":"TITLE_IMAGE_NOT_FOUND","type":"file_asset","underlyingFileName":"greatings.txt","url":"/greatings.txt","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid JSON field in response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c1182ff4-08bd-4603-8cd5-efca3a0e87ff |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 401 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet":{
"identifier":"no-exist",
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2691)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 506800f4-bbeb-4fd8-ba42-080af44b896d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 396 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet":{
"inode":"no-exist",
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1362)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2677)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor488.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | aee185e8-b0d1-4a71-98f2-6fcf6d4b7983 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 368 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2691)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor488.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 852b605a-937a-4d84-9cb8-d3971676eb6d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 368 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:11 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1362)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2677)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor488.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | de6a5152-27d4-4cf2-925a-fe9c46785667 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 941 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Region",
"description": "Region",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"clazz": "com.dotcms.contenttype.model.field.ImmutableTextField",
"dataType": "TEXT",
"fieldType": "Text",
"fieldTypeLabel": "Text",
"fieldVariables": [],
"fixed": false,
"iDate": 1606168746000,
"indexed": true,
"listed": true,
"modDate": 1606168746000,
"name": "Title",
"readOnly": false,
"required": true,
"searchable": true,
"sortOrder": 1,
"unique": false,
"variable": "title"
}
],
"workflow": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"Region","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1606168746000,"id":"08fafd9b64cefc16efdbc1b37ebd90f2","indexed":true,"listed":true,"modDate":1695330491000,"name":"Title","readOnly":false,"required":true,"searchable":true,"sortOrder":1,"unique":false,"variable":"title"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1695330491000,"icon":"event_note","id":"cec7ff58001803af652a64b505f84dd7","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695330498000,"indexed":false,"listed":false,"modDate":1695330498000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695330498000,"indexed":false,"listed":false,"modDate":1695330498000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1606168746000,"id":"08fafd9b64cefc16efdbc1b37ebd90f2","indexed":true,"listed":true,"modDate":1695330491000,"name":"Title","readOnly":false,"required":true,"searchable":true,"sortOrder":2,"unique":false,"variable":"title"}]}]}],"modDate":1695330491000,"multilingualable":false,"name":"Region","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"Region","versionable":true,"workflows":[]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3855eece-0707-43ad-ac5c-ece831c3a4a5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 646 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Movie",
"description": "Movies",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"clazz": "com.dotcms.contenttype.model.field.ImmutableRelationshipField",
"required": false,
"name": "Regions",
"relationships": {
"velocityVar": "Region",
"cardinality": 0
},
"searchable": false
}
],
"workflow": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:23 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"Movies","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableRelationshipField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldType":"Relationship","fieldTypeLabel":"Relationships Field","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695330498000,"id":"2c85a8ff46665079f8876154f6104d6b","indexed":true,"listed":false,"modDate":1695330498000,"name":"Regions","readOnly":false,"relationships":{"cardinality":0,"isParentField":true,"velocityVar":"Region"},"required":false,"searchable":false,"skipRelationshipCreation":false,"sortOrder":0,"unique":false,"variable":"regions"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1695330498000,"icon":"event_note","id":"a42293c7633ac02dbd7462a98deebee8","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695330504000,"indexed":false,"listed":false,"modDate":1695330504000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695330504000,"indexed":false,"listed":false,"modDate":1695330504000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableRelationshipField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldType":"Relationship","fieldTypeLabel":"Relationships Field","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695330498000,"id":"2c85a8ff46665079f8876154f6104d6b","indexed":true,"listed":false,"modDate":1695330498000,"name":"Regions","readOnly":false,"relationships":{"cardinality":0,"isParentField":true,"velocityVar":"Region"},"required":false,"searchable":false,"skipRelationshipCreation":false,"sortOrder":2,"unique":false,"variable":"regions"}]}]}],"modDate":1695330498000,"multilingualable":false,"name":"Movie","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"Movie","versionable":true,"workflows":[]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d687db5e-6877-4a1c-b077-1c66c965e8d9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet": {
"languageId": 1,
"title": "Africa",
"contentType": "Region"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Region","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"a510500bacca0e298908a3787fd866f5","inode":"0cbc1c77-147d-45c9-bcc4-7aeb60a82404","languageId":1,"live":true,"locked":false,"modDate":1695330503766,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330503766,"sortOrder":0,"stInode":"cec7ff58001803af652a64b505f84dd7","title":"Africa","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.0cbc1c77-147d-45c9-bcc4-7aeb60a82404","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6ebc3b69-3f7d-43c1-89ec-c6ba10fc9090 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 111 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet": {
"languageId": 1,
"title": "Asia",
"contentType": "Region"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Region","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"8595ee2b3bbb7b7ba3e7e8f44fbbcc93","inode":"52e2cc98-9b95-44b5-a449-27e9874d208d","languageId":1,"live":true,"locked":false,"modDate":1695330511344,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330511344,"sortOrder":0,"stInode":"cec7ff58001803af652a64b505f84dd7","title":"Asia","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.52e2cc98-9b95-44b5-a449-27e9874d208d","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bf521d64-39bc-440a-ad00-2a7fd653bf55 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 85 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"contentlet": {
"languageId": 1,
"contentType": "Movie"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Movie","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"1e9bc50e24b0d171f8b8c99e072c7f98","inode":"e31d9a11-cc08-472c-8eec-95fd1181acde","languageId":1,"live":true,"locked":false,"modDate":1695330519388,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330519388,"sortOrder":0,"stInode":"a42293c7633ac02dbd7462a98deebee8","title":"1e9bc50e24b0d171f8b8c99e072c7f98","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.e31d9a11-cc08-472c-8eec-95fd1181acde","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a5407c67-ce8e-44f6-a500-ebf81184efa9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 79 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{"contentlet": {
"regions":"+contentType:Region +Region.title:*Asia*"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"baseType":"CONTENT","contentType":"Movie","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"1e9bc50e24b0d171f8b8c99e072c7f98","inode":"a21442f3-e094-4a5d-ad4d-937c9c10d4e6","languageId":1,"live":true,"locked":true,"modDate":1695330527494,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695330527494,"sortOrder":0,"stInode":"a42293c7633ac02dbd7462a98deebee8","title":"1e9bc50e24b0d171f8b8c99e072c7f98","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.e31d9a11-cc08-472c-8eec-95fd1181acde","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b4944a49-1cad-47a1-9f6d-a1370d7595ed |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 140 |
| Cookie | JSESSIONID=BA08C809299CC559E1F2316DA64F705C; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzMwMTkyNDU3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzAxOTUsImlzcyI6Ijg1NjMxMjdmNDIiLCJleHAiOjE2OTU0MTY1OTV9.U6s8UlqVWhgjsRNRn72rB2VcjXebAquZm5Pm_UAmZys |
{
"query": "+contentType:Movie +identifier:1e9bc50e24b0d171f8b8c99e072c7f98",
"sort": "modDate desc",
"limit": 20,
"offset": 0,
"depth": 1
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | 8860aff5f711|6912a2a218 |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 21:08:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":20,"jsonObjectView":{"contentlets":[{"hostName":"System Host","modDate":"2023-09-21 21:08:47.494","publishDate":"2023-09-21 21:08:47.494","title":"1e9bc50e24b0d171f8b8c99e072c7f98","baseType":"CONTENT","inode":"a21442f3-e094-4a5d-ad4d-937c9c10d4e6","archived":false,"host":"SYSTEM_HOST","working":true,"locked":true,"stInode":"a42293c7633ac02dbd7462a98deebee8","contentType":"Movie","live":true,"owner":"dotcms.org.1","identifier":"1e9bc50e24b0d171f8b8c99e072c7f98","languageId":1,"url":"/content.e31d9a11-cc08-472c-8eec-95fd1181acde","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note","regions":[{"hostName":"System Host","modDate":"2023-09-21 21:08:31.344","publishDate":"2023-09-21 21:08:31.344","title":"Asia","baseType":"CONTENT","inode":"52e2cc98-9b95-44b5-a449-27e9874d208d","archived":false,"host":"SYSTEM_HOST","working":true,"locked":false,"stInode":"cec7ff58001803af652a64b505f84dd7","contentType":"Region","live":true,"owner":"dotcms.org.1","identifier":"8595ee2b3bbb7b7ba3e7e8f44fbbcc93","languageId":1,"url":"/content.52e2cc98-9b95-44b5-a449-27e9874d208d","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]}]},"queryTook":7,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Check relationships | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|